public SqlArgument(string sql, object paramObject, InsertMethodEnum method = InsertMethodEnum.Normal, string parentIdName = "") { this.Sql = sql; this.ParamObj = paramObject; this.InsertMethod = method; this.ParentIdName = parentIdName; }
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); }