public static bool Update(DicSyntheticitemEntity dicSyntheticitemEntity, DbTransaction trans = null, string zoneId = "") { var provider = new DicSyntheticitemProvider(zoneId); return(provider.Update(dicSyntheticitemEntity, trans)); }
public static List <DicSyntheticitemEntity> GetAll(string zoneId = "") { var provider = new DicSyntheticitemProvider(zoneId); return(provider.GetAll()); }
public static bool Delete(System.Int32 itemCode, DbTransaction trans = null, string zoneId = "") { DicSyntheticitemProvider provider = new DicSyntheticitemProvider(zoneId); return(provider.Delete(itemCode, trans)); }
public static DicSyntheticitemEntity GetById(System.Int32 itemCode, string zoneId = "") { var provider = new DicSyntheticitemProvider(zoneId); return(provider.GetById(itemCode)); }