Class ContextConfig
Context config section
Inherited Members
Namespace: XData.Interfaces
Assembly: XData.docfx.dll
Syntax
public sealed class ContextConfig
Remarks
WARNING! All attributes are required!
Examples
<context name="TEST" adapter="MSSQL"/>
Properties
| Improve this Doc View SourceAdapterName
Context adapter name
Declaration
public string AdapterName { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
Mast be the same as Name
ConcurrencyErrorId
Concurrency error id
Declaration
public string ConcurrencyErrorId { get; set; }
Property Value
Type | Description |
---|---|
String |
ConnectionString
Connection string
Declaration
public string ConnectionString { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
Received from ConnectionStrings configuration section by name same as Name
DialectName
Dialect adapter name
Declaration
public string DialectName { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
Mast be the same as Name
IsDefault
Default context flag
Declaration
public bool IsDefault { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Name
Context name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
SequenceNameRule
Sequence name rule class name
Declaration
public string SequenceNameRule { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A string that represents the current object. |
Overrides
Extension Methods
SqlBlockExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IBlockQueryAdapter, TResult>>)