Esempio n. 1
0
        public static bool Update(DicMailEntity dicMailEntity, DbTransaction trans = null, string zoneId = "")
        {
            var provider = new DicMailProvider(zoneId);

            return(provider.Update(dicMailEntity, trans));
        }
Esempio n. 2
0
        public static List <DicMailEntity> GetAllForCache(string zoneId = "")
        {
            var provider = new DicMailProvider(zoneId);

            return(provider.GetAllForCache());
        }
Esempio n. 3
0
        public static bool Delete(System.Int32 idx, DbTransaction trans = null, string zoneId = "")
        {
            DicMailProvider provider = new DicMailProvider(zoneId);

            return(provider.Delete(idx, trans));
        }
Esempio n. 4
0
        public static DicMailEntity GetById(System.Int32 idx, string zoneId = "")
        {
            var provider = new DicMailProvider(zoneId);

            return(provider.GetById(idx));
        }