예제 #1
0
        public static bool Update(ConfigShareEntity configShareEntity, DbTransaction trans = null, string zoneId = "")
        {
            var provider = new ConfigShareProvider(zoneId);

            return(provider.Update(configShareEntity, trans));
        }
예제 #2
0
        public static List <ConfigShareEntity> GetAll(string zoneId = "")
        {
            var provider = new ConfigShareProvider(zoneId);

            return(provider.GetAll());
        }
예제 #3
0
        public static bool Delete(System.Int32 idx, DbTransaction trans = null, string zoneId = "")
        {
            ConfigShareProvider provider = new ConfigShareProvider(zoneId);

            return(provider.Delete(idx, trans));
        }
예제 #4
0
        public static ConfigShareEntity GetById(System.Int32 idx, string zoneId = "")
        {
            var provider = new ConfigShareProvider(zoneId);

            return(provider.GetById(idx));
        }