|
|
@ -37,8 +37,10 @@ namespace OrmTest.UnitTest |
|
|
|
Money2 = 8, |
|
|
|
Varbinary1 = new byte[] { 4, 5 }, |
|
|
|
Varbinary2 = null, |
|
|
|
String = "string" |
|
|
|
String = "string", |
|
|
|
Long1=100 |
|
|
|
}; |
|
|
|
var x = db.Queryable<DataTestInfo2>().Select(it => it.PK).ToList(); |
|
|
|
var id = db.Insertable<DataTestInfo>(insertObject).ExecuteReturnIdentity(); |
|
|
|
var data = db.Queryable<DataTestInfo>().InSingle(id); |
|
|
|
if ( |
|
|
@ -48,6 +50,7 @@ namespace OrmTest.UnitTest |
|
|
|
insertObject.Float2 != data.Float2 || |
|
|
|
insertObject.Int2 != data.Int2 || |
|
|
|
insertObject.Money1 != data.Money1 || |
|
|
|
insertObject.Long1!=data.Long1|| |
|
|
|
insertObject.Guid2!=data.Guid2|| |
|
|
|
string.Join(",", insertObject.Varbinary1) != string.Join(",", data.Varbinary1) || |
|
|
|
insertObject.String != data.String) |
|
|
|