12 lines
259 B
C#
12 lines
259 B
C#
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)));
|
|
}
|