static public void Delete(System.Int64 id, esSqlAccessType sqlAccessType) { var obj = new Simplests(); obj.Id = id; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(sqlAccessType); }
static public void Delete(System.Int64 id) { var obj = new Simplests(); obj.Id = id; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(); }