Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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();
 }