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