/// <summary> /// 初始化一个新 <see cref="SetBuilder<T>" /> 实例。 /// </summary> /// <param name="db">数据库实例</param> public SetBuilder(Database db) { context = new BuilderContext(db, new List <object>()); set = new UpdateBuilder <T>(context); }
/// <summary> /// 初始化一个新 <see cref="SetBuilder<T>" /> 实例。 /// </summary> /// <param name="db">数据库实例</param> public SetBuilder(Database db) { __db = db; this.Params = new List <object>(); __set = new UpdateBuilder <T>(db, this.Params); }