Пример #1
0
 public SqlArgument(string sql, object paramObject, InsertMethodEnum method = InsertMethodEnum.Normal, string parentIdName = "")
 {
     this.Sql          = sql;
     this.ParamObj     = paramObject;
     this.InsertMethod = method;
     this.ParentIdName = parentIdName;
 }
Пример #2
0
        public void Add(string sql, object paramObject, InsertMethodEnum method = InsertMethodEnum.Normal, string parentIdName = "")
        {
            SqlArgument model = new SqlArgument(sql, paramObject, method, parentIdName);

            this._sqlList.Add(model);
        }