public override void UpdateMod(Model.Transport.DsWhRecipienter mod) { Context.Update("DsWhRecipienter", mod).AutoMap(p => p.SysNo).Where(p => p.SysNo).Execute(); }
public override int InsertMod(Model.Transport.DsWhRecipienter mod) { return(Context.Insert("DsWhRecipienter", mod).AutoMap(p => p.SysNo).ExecuteReturnLastId <int>("SysNo")); }