DBContext Class Members
The following tables list the members exposed by DBContext.
Public Constructors
Name | Description | |
---|---|---|
![]() | DBContext Constructor | Creates an instance of this ADO.NET database context and attempts to access the database via connection string. |
Public Properties
Name | Description | |
---|---|---|
![]() | ApplicationName | Gets or sets the application name that will be associated with the DB connection. |
![]() | ConnectionString | Grabs the connection string established in App.config. Allows overriding of the application name and connection timeout. |
![]() | ConnectionTimeout | Gets or sets the connection timeout. Allows for overriding the default value in the connection string. |
Public Methods
Name | Description | |
---|---|---|
![]() | CreateCommand | Creates a command that can be set and executed against the database. |
![]() | Dispose | Disposes of open/living constructs before relinquishing the context to the GC. |
![]() | SaveChanges | Save changes made to the data. |
See Also