Exemplo n.º 1
0
 /// <summary>
 /// Constructs the builder object with the specified provider and model.
 /// </summary>
 /// <param name="provider"></param>
 /// <param name="model"></param>
 public DbDataProviderCommandBuilder(DbDataProvider provider, DataModel model)
     : this(provider)
 {
     DataModel = model;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructs the builder object with the specifeid provider and query.
 /// </summary>
 /// <param name="provider"></param>
 /// <param name="query"></param>
 public DbDataProviderCommandBuilder(DbDataProvider provider, DataModelQuery <TModel> query)
     : this(provider)
 {
     StatementCommand = SqlStatement.SELECT;
     Query            = query;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructs the builder object with the specified provider.
 /// </summary>
 /// <param name="provider"></param>
 public DbDataProviderCommandBuilder(DbDataProvider provider)
 {
     Provider         = provider;
     StatementCommand = SqlStatement.SELECT;
     MaxRowCount      = long.MaxValue;
 }