I have a table with some columns: 1. nvarchar(30), 2. int, 3. binary(16). Now, In c# I have a class that represents those columns:
public string aaa { get; set; }
public int bbb { get; set; }
And how do I write the third one (binary(16)) ?
I have a table with some columns: 1. nvarchar(30), 2. int, 3. binary(16). Now, In c# I have a class that represents those columns:
public string aaa { get; set; }
public int bbb { get; set; }
And how do I write the third one (binary(16)) ?
Binary
column is commonly mapped to byte arrays:
public byte[] ThirdColumn {get; set;}