public List <NotifyTypeProxy> Notify_GetAllNotifyTypes() { if (!CheckClient()) { return(null); } NotifyTypeCollection types = NotifyBO.AllNotifyTypes; return(ProxyConverter.GetNotifyTypeProxyList(types)); }
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); } }