public static bool Update(DicMailEntity dicMailEntity, DbTransaction trans = null, string zoneId = "") { var provider = new DicMailProvider(zoneId); return(provider.Update(dicMailEntity, trans)); }
public static List <DicMailEntity> GetAllForCache(string zoneId = "") { var provider = new DicMailProvider(zoneId); return(provider.GetAllForCache()); }
public static bool Delete(System.Int32 idx, DbTransaction trans = null, string zoneId = "") { DicMailProvider provider = new DicMailProvider(zoneId); return(provider.Delete(idx, trans)); }
public static DicMailEntity GetById(System.Int32 idx, string zoneId = "") { var provider = new DicMailProvider(zoneId); return(provider.GetById(idx)); }