Whether there is a
Database.Open().MySchema.MyTable.Upsert( new MyType { PK1 = 1, PK2 = 2 } );
Job?
ToArray () -
var list = new List<MyType>(); list.Add(new MyType() { PK1 = 1, PK2 = 2 }); list.Add(new MyType() { PK1 = 1, PK2 = 3 }); Database.Open().MySchema.MyTable.Upsert(list.ToArray());
source share