public void CanDeserializeNullByteArray() { DbAssert.ArrayAreEqual <byte[]>(null, "SELECT CAST(NULL AS VARBINARY)"); }
public void CanDeserializeTwoElementByteArray() { DbAssert.ArrayAreEqual(new[] { (byte)'A', (byte)'B' }, "SELECT CAST('AB' AS VARBINARY)"); }
public void CanDeserializeEmptyByteArray() { DbAssert.ArrayAreEqual(new byte[0], "SELECT CAST('' AS VARBINARY)"); }
public void CanDeserializeTwoElementCharArray() { DbAssert.ArrayAreEqual(new[] { 'A', 'B' }, "SELECT CAST('AB' AS NVARCHAR(10))"); }
public void CanDeserializeEmptyCharArray() { DbAssert.ArrayAreEqual(new char[0], "SELECT CAST('' AS NVARCHAR(10))"); }
public void CanDeserializeNullCharArray() { DbAssert.ArrayAreEqual <char[]>(null, "SELECT CAST(NULL AS NVARCHAR(10))"); }