Beispiel #1
0
        public List <NotifyTypeProxy> Notify_GetAllNotifyTypes()
        {
            if (!CheckClient())
            {
                return(null);
            }
            NotifyTypeCollection types = NotifyBO.AllNotifyTypes;

            return(ProxyConverter.GetNotifyTypeProxyList(types));
        }
Beispiel #2
0
        public override NotifyTypeCollection LoadAllNotifyType()
        {
            using (SqlQuery query = new SqlQuery())
            {
                query.CommandText = "bx_LoadAllNotifyType";
                query.CommandType = CommandType.StoredProcedure;

                NotifyTypeCollection results;

                using (XSqlDataReader reader = query.ExecuteReader())
                {
                    results = new NotifyTypeCollection(reader);
                }
                return(results);
            }
        }