Reader |
The ReaderWriterLockingDataContext type exposes the following members.
| Name | Description | |
|---|---|---|
| Any(SqlStatement) |
Represents the count function
(Inherited from DataContext) | |
| AnyTModel(ExpressionFuncTModel, Boolean) |
Returns only if only one result is available
(Inherited from DataContext) | |
| BeginTransaction |
Begin a transaction
(Inherited from DataContext) | |
| Close |
Close the connection however don't dispose
(Overrides DataContextClose) | |
| Count(SqlStatement) |
Represents the count function
(Inherited from DataContext) | |
| CountTModel(ExpressionFuncTModel, Boolean) |
Returns only if only one result is available
(Inherited from DataContext) | |
| CreateSqlStatementBuilder(SqlStatement) |
Create sql statement
(Inherited from DataContext) | |
| CreateSqlStatementBuilder(String, Object) |
Create sql statement
(Inherited from DataContext) | |
| CreateTableTTable |
Create a table
(Inherited from DataContext) | |
| DeleteTModel |
Delete from the database
(Inherited from DataContext) | |
| DeleteAll(Type, SqlStatement) |
Delete from the database
(Inherited from DataContext) | |
| DeleteAll(Type, LambdaExpression) |
Update all
(Inherited from DataContext) | |
| DeleteAllTModel(ExpressionFuncTModel, Boolean) |
Delete from the database
(Inherited from DataContext) | |
| DeleteAllTModel(SqlStatement) |
Update all with specified Sql based statement
(Inherited from DataContext) | |
| DisableConstraints |
Instructs the provider to disable constraints (such as foreign keys, check constraints, etc.)
(Inherited from DataContext) | |
| Dispose |
Dispose this object
(Overrides DataContextDispose) | |
| DropTableTTable |
Create a table
(Inherited from DataContext) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| ExecQueryTModel |
Executes the query against the database
(Inherited from DataContext) | |
| ExecuteNonQuery(SqlStatement) |
Execute a non query
(Inherited from DataContext) | |
| ExecuteNonQuery(String, Object) |
Execute the specified SQL
(Inherited from DataContext) | |
| ExecuteProcedureTModel |
First or default returns only the first object or null if not found
(Inherited from DataContext) | |
| ExecuteScalarTReturn |
Returns only if only one result is available
(Inherited from DataContext) | |
| Exists(Type, Guid) |
Determines if modelKey of type type exists in the database
(Inherited from DataContext) | |
| ExistsTModel(TModel) |
Determines if obj exists in the database
(Inherited from DataContext) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| FirstOrDefault(Type, SqlStatement) |
First or default returns only the first object or null if not found
(Inherited from DataContext) | |
| FirstOrDefaultTModel(ExpressionFuncTModel, Boolean) |
First or default returns only the first object or null if not found
(Inherited from DataContext) | |
| FirstOrDefaultTModel(SqlStatement) |
First or default returns only the first object or null if not found
(Inherited from DataContext) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetQueryBuilder |
Query builder
(Inherited from DataContext) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| InsertTModel |
Insert the specified object
(Inherited from DataContext) | |
| InsertAllTModel |
Bulk insert data
(Inherited from DataContext) | |
| InsertOrUpdateTModel |
INSERT OR IGNORE the specifed object
(Inherited from DataContext) | |
| InsertOrUpdateAllTModel |
Bulk insert data
(Inherited from DataContext) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Open |
Open the connection to the database
(Overrides DataContextOpen(Boolean)) | |
| Query(Type, SqlStatement) |
Non-generic implementation for query
(Inherited from DataContext) | |
| QueryTModel(ExpressionFuncTModel, Boolean) |
Execute the specified query
(Inherited from DataContext) | |
| QueryTModel(SqlStatement) |
Query using the specified statement
(Inherited from DataContext) | |
| QueryTModel(String, Object) |
Execute a stored procedure transposing the result set back to TModel (Inherited from DataContext) | |
| RestoreConstraints |
Instructs the provider to enable constraints (such as foreign keys, check constraints, etc.)
(Inherited from DataContext) | |
| SingleOrDefaultTModel |
Returns only if only one result is available
(Inherited from DataContext) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| UpdateTModel |
Updates the specified object
(Inherited from DataContext) | |
| UpdateAll(Type, SqlStatement, LambdaExpression) |
Update all data with specified where clause
(Inherited from DataContext) | |
| UpdateAll(Type, LambdaExpression, LambdaExpression) |
Update all
(Inherited from DataContext) | |
| UpdateAllTModel(IEnumerableTModel) |
Bulk update data
(Inherited from DataContext) | |
| UpdateAllTModel(ExpressionFuncTModel, Boolean, ExpressionFuncTModel, Object) |
Updates the specified object
(Inherited from DataContext) | |
| UpdateAllTModel(IEnumerableTModel, FuncTModel, TModel) |
Bulk update data
(Inherited from DataContext) | |
| UpdateAllTModel(SqlStatement, ExpressionFuncTModel, Object) |
Update all with specified Sql based statement
(Inherited from DataContext) | |
| UpdateAllTModel, TUpdateModel(ExpressionFuncTModel, Boolean, ExpressionFuncTUpdateModel, Object) |
Update all data matching whereExpression to updateStatements (Inherited from DataContext) |
| Name | Description | |
|---|---|---|
| AddOrUpdateData |
Adds or updates data on the context
(Defined by DataContextExtensions) | |
| ContainsStackEntry |
Returns true if the data stack contains an entry
(Defined by DataContextExtensions) | |
| ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
(Defined by ExtensionMethods) | |
| CreateInformationModelGuard |
Should be called when converting to information model to prevent stack overflows
(Defined by DataContextExtensions) | |
| EstablishProvenance |
Establish a provenance entry for the specified connection
(Defined by DataContextExtensions) | |
| GetProvenance |
Get provenance from the context
(Defined by DataContextExtensions) | |
| Install |
Install the specified object
(Defined by SqlFeatureUtil) | |
| IsInstalled |
Returns true if the migration has been installed
(Defined by SqlFeatureUtil) | |
| IsLoadingInformationModel |
Determine if the information model is loading
(Defined by DataContextExtensions) | |
| PeekData |
Set data on the context in a safe manner
(Defined by DataContextExtensions) | |
| PopData |
Set data on the context in a safe manner
(Defined by DataContextExtensions) | |
| PushData |
Set data on the context in a safe manner
(Defined by DataContextExtensions) | |
| ShouldDisableObjectValidation |
Should disable object validation
(Defined by DataContextExtensions) | |
| ValidateMaximumStackDepth |
Validate that the current context is under the maximum stack depth
(Defined by DataContextExtensions) | |
| WithControl |
With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions) |