Exemplo n.º 1
0
        public static DataTable GetDataTable(SqlDetail sqlDetail)
        {
            SqlDetails sqlDetails = new SqlDetails();

            sqlDetails.Add(sqlDetail);
            return(GetDataTableByTransaction(sqlDetails));
        }
Exemplo n.º 2
0
        public static bool ExecuteQuery(SqlDetail sqlDetail)
        {
            SqlDetails sqlDetails = new SqlDetails();

            sqlDetails.Add(sqlDetail);
            return(ExecuteTransaction(sqlDetails));
        }
Exemplo n.º 3
0
        public static DataTable GetDataTableByTransaction(List <string> sqlList)
        {
            SqlDetails sqlDetails = new SqlDetails();

            foreach (string sql in sqlList)
            {
                sqlDetails.Add(new SqlDetail(sql));
            }
            return(GetDataTableByTransaction(sqlDetails));
        }
Exemplo n.º 4
0
        public static bool ExecuteTransaction(List <string> sqlList)
        {
            SqlDetails sqlDetails = new SqlDetails();

            foreach (string sql in sqlList)
            {
                sqlDetails.Add(new SqlDetail(sql));
            }
            return(ExecuteTransaction(sqlDetails));
        }