public DbCommand( DbContext dbContext, System.Data.IDbCommand dbCommand, DbContextData dbContextData) { _data = new DbCommandData(); _data.Context = dbContext; _data.ContextData = dbContextData; _data.InnerCommand = dbCommand; _data.Command = this; _data.ExecuteQueryHandler = new ExecuteQueryHandler(_data, this); }
public DbContext() { ContextData = new DbContextData(); }