A Sandcastle Documented Class Library
DbDataProvider Class
NamespacesGemli.Data.ProvidersDbDataProvider
Provides an ADO.NET database provider for Gemli.Data using ANSI SQL when supplied with a DbProviderFactory. This provider class is not optimized.
Declaration Syntax
C#Visual BasicVisual C++
public class DbDataProvider : DataProviderBase
Public Class DbDataProvider _
	Inherits DataProviderBase
public ref class DbDataProvider : public DataProviderBase
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
DbDataProvider(DbProviderFactory)
Constructs a DbProvider object using the specified DbProviderFactory.

DbDataProvider(DbProviderFactory, String)
Constructs a DbProvider object using the specified DbProviderFactory.

DbDataProvider(DbProviderFactory, ConnectionStringSettings)
Constructs a DbProvider object using the specified DbProviderFactory.

DbDataProvider(DbProviderFactory, String, String)
Constructs a DbProvider object using the specified DbProviderFactory.

BeginTransaction()()()
Starts a database transaction.
(Overrides DataProviderBase.BeginTransaction()()().)
BeginTransaction(IsolationLevel)
Starts a database transaction with the specified isolation level.
(Overrides DataProviderBase.BeginTransaction(IsolationLevel).)
ConnectionName
Gets or sets the connection name associated with the ConnectionString.

ConnectionString
Gets or sets the connection string used to set up a new connection to this database provider.

DbFactory
Returns the DbProviderFactory used for performing database operations.

DeepLoadModel<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>))
When implemented, loads the full object graph for the first DataModel that is returned from the specified query.
(Inherited from DataProviderBase.)
DeepLoadModel<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>), Nullable<(Of <(Int32>)>))
When implemented, loads the full object graph for the first DataModel that is returned from the specified query.
(Inherited from DataProviderBase.)
DeepLoadModel<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>), DbTransaction)
When implemented, loads the full object graph for the first DataModel that is returned from the specified query, within the specified database transactionContext.
(Inherited from DataProviderBase.)
DeepLoadModel<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>), Nullable<(Of <(Int32>)>), DbTransaction)
When implemented, loads the full object graph for the first DataModel that is returned from the specified query, within the specified database transactionContext.
(Inherited from DataProviderBase.)
DeepLoadModel(DataModelQuery, DbTransaction, List<(Of <(DataModel>)>))
When implemented, loads the full object graph for the first DataModel that is returned from the specified query, within the specified database transactionContext.
(Inherited from DataProviderBase.)
DeepLoadModel(DataModelQuery, Nullable<(Of <(Int32>)>), DbTransaction, List<(Of <(DataModel>)>))
When implemented, loads the full object graph for the first DataModel that is returned from the specified query, within the specified database transactionContext.
(Inherited from DataProviderBase.)
DeepLoadModels<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>))
When implemented, loads the full object graph for the DataModel objects that are returned from the specified query.
(Inherited from DataProviderBase.)
DeepLoadModels<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>), Nullable<(Of <(Int32>)>))
When implemented, loads the full object graph for the DataModel objects that are returned from the specified query.
(Inherited from DataProviderBase.)
DeepLoadModels<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>), DbTransaction)
When implemented, loads the full object graph for the DataModel objects that are returned from the specified query, within the specified database transactionContext.
(Inherited from DataProviderBase.)
DeepLoadModels<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>), Nullable<(Of <(Int32>)>), DbTransaction)
When implemented, loads the full object graph for the DataModel objects that are returned from the specified query, within the specified database transactionContext.
(Inherited from DataProviderBase.)
DeepLoadModels(DataModelQuery, DbTransaction, List<(Of <(DataModel>)>))
Loads the full object graph for the DataModel objects that are returned from the specified query, within the specified database transactionContext.
(Inherited from DataProviderBase.)
DeepLoadModels(DataModelQuery, Nullable<(Of <(Int32>)>), DbTransaction, List<(Of <(DataModel>)>))
Loads the full object graph for the DataModel objects that are returned from the specified query, within the specified database transactionContext.
(Inherited from DataProviderBase.)
DeepSaveModel(DataModel)
Saves the entire object graph of the specified entity, where any of its properties are also DataModel objects with IsDirty, Deleted, or IsNew change state.
(Inherited from DataProviderBase.)
DeepSaveModel(DataModel, DbTransaction)
Saves the entire object graph of the specified entity, within the specified database transactionContext, where any of its properties are also DataModel objects with IsDirty, Deleted, or IsNew change state.
(Inherited from DataProviderBase.)
DeepSaveModel(DataModel, DbTransaction, List<(Of <(DataModel>)>))
Saves the entire object graph of the specified entity, within the specified database transactionContext, where any of its properties are also DataModel objects with IsDirty, Deleted, or IsNew change state.
(Inherited from DataProviderBase.)
DeepSaveModels<(Of <(TModel>)>)(DataModelCollection<(Of <(TModel>)>))
Saves the entire object graph of the specified DataModel objects, where any of their properties are also DataModel objects with IsDirty, Deleted, or IsNew change state.
(Inherited from DataProviderBase.)
DeepSaveModels<(Of <(TModel>)>)(DataModelCollection<(Of <(TModel>)>), DbTransaction)
Saves the entire object graph of the specified DataModel objects, within the specified database transactionContext, where any of their properties are also DataModel objects with IsDirty, Deleted, or IsNew change state.
(Inherited from DataProviderBase.)
DeepSaveModels<(Of <(TModel>)>)(DataModelCollection<(Of <(TModel>)>), DbTransaction, List<(Of <(DataModel>)>))
Saves the entire object graph of the specified DataModel objects, within the specified database transactionContext, where any of their properties are also DataModel objects with IsDirty, Deleted, or IsNew change state.
(Inherited from DataProviderBase.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
LoadModel<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>), DbTransaction)
Loads the first DataModel that the specified query finds, within the specified database transactionContext.
(Overrides DataProviderBase.LoadModel<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>), DbTransaction).)
LoadModel<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>), DbTransaction)
When implemented, loads the first DataModel that the specified query finds, within the specified database transactionContext.
(Inherited from DataProviderBase.)
LoadModel<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>))
When implemented, loads the first DataModel that the specified query finds.
(Inherited from DataProviderBase.)
LoadModels<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>), DbTransaction)
Loads a set of DataModel objects using the specified query within the specified database transactionContext.
(Overrides DataProviderBase.LoadModels<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>), DbTransaction).)
LoadModels<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>), DbTransaction)
When implemented, loads a set of DataModel objects using the specified query within the specified database transactionContext.
(Inherited from DataProviderBase.)
LoadModels<(Of <(TModel>)>)(DataModelQuery<(Of <(TModel>)>))
When implemented, loads a set of DataModel objects using the specified query.
(Inherited from DataProviderBase.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
SaveModel(DataModel, DbTransaction)
Saves the changes that were made to the specified dataModel, within the specified database transactionContext.
Remarks
The specified object must have the Deleted property set to true, IsDirty evaluated as true, or IsNew evaluated as true, or else the entity will not be saved.
(Overrides DataProviderBase.SaveModel(DataModel, DbTransaction).)
SaveModel(DataModel)
When implemented, saves the changes that were made to the specified dataModel.
Remarks
The specified object must have the Deleted property set to true, IsDirty evaluated as true, or IsNew evaluated as true, or else the model will not be saved.
(Inherited from DataProviderBase.)
SaveModels<(Of <(TModel>)>)(DataModelCollection<(Of <(TModel>)>), DbTransaction)
Saves the changes that were made to each of the specified dataEntities, within the specified database transactionContext.
Remarks
The specified entities must have the Deleted property set to true, IsDirty evaluated as true, or IsNew evaluated as true, or else the entity will not be saved.
(Overrides DataProviderBase.SaveModels<(Of <(TModel>)>)(DataModelCollection<(Of <(TModel>)>), DbTransaction).)
SaveModels<(Of <(TModel>)>)(DataModelCollection<(Of <(TModel>)>), DbTransaction)
When implemented, saves the changes that were made to each of the specified dataModels, within the specified database transactionContext.
Remarks
The specified dataModels must have the Deleted property set to true, IsDirty evaluated as true, or IsNew evaluated as true, or else the model will not be saved.
(Inherited from DataProviderBase.)
SaveModels<(Of <(TModel>)>)(DataModelCollection<(Of <(TModel>)>))
When implemented, saves the changes that were made to each of the specified dataModels.
(Inherited from DataProviderBase.)
SupportsTransactions
Returns true, indicating that this data provider supports creating and working with DbTransactions.
(Overrides DataProviderBase.SupportsTransactions.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
DataProviderBase
 DbDataProvider

Assembly: Gemli.Data (Module: Gemli.Data) Version: 0.9.0.0 (0.9.0.0)