Show / Hide Table of Contents

    Class ContextConfig

    Context config section

    Inheritance
    Object
    ContextConfig
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    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 Source

    AdapterName

    Context adapter name

    Declaration
    public string AdapterName { get; set; }
    Property Value
    Type Description
    String
    Remarks

    Mast be the same as Name

    | Improve this Doc View Source

    ConcurrencyErrorId

    Concurrency error id

    Declaration
    public string ConcurrencyErrorId { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    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

    | Improve this Doc View Source

    DialectName

    Dialect adapter name

    Declaration
    public string DialectName { get; set; }
    Property Value
    Type Description
    String
    Remarks

    Mast be the same as Name

    | Improve this Doc View Source

    IsDefault

    Default context flag

    Declaration
    public bool IsDefault { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Name

    Context name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    SequenceNameRule

    Sequence name rule class name

    Declaration
    public string SequenceNameRule { get; set; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    ToString()

    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
    Object.ToString()

    Extension Methods

    SerializationExtensions.ToXml<T>(T)
    CollectionsExtensions.SetValue<TKey, T>(TKey, T)
    CollectionsExtensions.AsEnum<T>(T)
    DataObjectQueryableExtensions.CompareVariable(Object, FilterOperation, String)
    Processing.Do<T>(T, Action<IProcess<T>>[])
    TypeExtensions.TryConvert<T, TResult>(T, Func<T, TResult>)
    TypeExtensions.TryConvert<T, TResult>(T, Func<T, TResult>, TResult)
    TypeExtensions.ChangeType<T>(Object)
    TypeExtensions.ChangeType(Object, Type)
    TypeExtensions.InvokeMethod<TRet>(Object, Type[], Expression<Func<TRet>>, BindingFlags)
    TypeExtensions.InvokeMethod(Object, Type[], Expression<Action>, BindingFlags)
    TypeExtensions.InvokeMethod<TRet>(Object, Expression<Func<TRet>>, BindingFlags)
    TypeExtensions.InvokeMethod(Object, Expression<Action>, BindingFlags)
    SqlBlockExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IBlockQueryAdapter, TResult>>)
    QueryDescriptionExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IQueryStructureAdapter, TResult>>)

    See Also

    Name
    AdapterName
    ConnectionString
    IsDefault
    SequenceNameRule
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX