protected CurdBeforeEventArgs(Guid identifier, Stopwatch stopwatch, Type entityType, TableInfo table, CurdType curdType, string sql, DbParameter[] dbParms) { this.Identifier = identifier; this.Stopwatch = stopwatch; this.EntityType = entityType; this.Table = table; this.CurdType = curdType; this.Sql = sql; this.DbParms = dbParms; }
public CurdBeforeEventArgs(Type entityType, TableInfo table, CurdType curdType, string sql, DbParameter[] dbParms) : this(Guid.NewGuid(), new Stopwatch(), entityType, table, curdType, sql, dbParms) { this.Stopwatch.Start(); }