public static bool Update(ConfigInvestEntity configInvestEntity, DbTransaction trans = null, string zoneId = "") { var provider = new ConfigInvestProvider(zoneId); return(provider.Update(configInvestEntity, trans)); }
public static List <ConfigInvestEntity> GetAll(string zoneId = "") { var provider = new ConfigInvestProvider(zoneId); return(provider.GetAll()); }
public static bool Delete(System.Int32 idx, DbTransaction trans = null, string zoneId = "") { ConfigInvestProvider provider = new ConfigInvestProvider(zoneId); return(provider.Delete(idx, trans)); }
public static ConfigInvestEntity GetById(System.Int32 idx, string zoneId = "") { var provider = new ConfigInvestProvider(zoneId); return(provider.GetById(idx)); }