Beispiel #1
0
        public IList <dynamic> SelectWithDynamic <T>(string sql) where T : BasicObj
        {
            SqlConnection   conn      = cm.GetConnection();
            QueryMore       queryMore = new PreparedSelectMore();
            IList <dynamic> list      = queryMore.SelectWithDynamic <T>(conn, sql);

            return(list);
        }
Beispiel #2
0
        public IList <dynamic> SelectWithDynamic(string sql)
        {
            SqlConnection   conn      = cm.GetConnection();
            QueryMore       queryMore = new PreparedSelectMore();
            IList <dynamic> list      = queryMore.SelectWithDynamic <Entity>(conn, sql);

            return(list);
        }