namespace Bts.DataStreamCore; using BCG; using System; public static class BlueRowExtensions { public static int Id(this IBlueRow row) => (int)(row["id"] ?? throw new ArgumentException( "Row doesn't have an 'id' column", nameof(row))); }