Show / Hide Table of Contents

    Class XDataContext

    Data context Provides database adapter and SQL builder access

    Inheritance
    Object
    XDataContext
    Implements
    IDisposable
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: XData.Database
    Assembly: XData.docfx.dll
    Syntax
    public sealed class XDataContext : IDisposable

    Properties

    | Improve this Doc View Source

    ConcurrencyErrorId

    Concurrency error id

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

    ConnectionInfo

    Context connection information

    Declaration
    public XConnectionInfo ConnectionInfo { get; }
    Property Value
    Type Description
    XConnectionInfo
    | Improve this Doc View Source

    DatabaseAdapter

    Database adapter

    Declaration
    public IDatabaseAdapter DatabaseAdapter { get; }
    Property Value
    Type Description
    IDatabaseAdapter
    | Improve this Doc View Source

    DatabaseDialect

    SQL builder

    Declaration
    public ISqlBuilder DatabaseDialect { get; }
    Property Value
    Type Description
    ISqlBuilder
    | Improve this Doc View Source

    DialectName

    SQL dialect name

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

    DialectOptions

    Dialect options supported by context

    Declaration
    public DialectOptions DialectOptions { get; }
    Property Value
    Type Description
    DialectOptions
    | Improve this Doc View Source

    Name

    Context name

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

    Proxy

    Remote proxy

    Declaration
    public IProxy Proxy { get; }
    Property Value
    Type Description
    IProxy

    Methods

    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    Dispose(Boolean)

    Declaration
    public void Dispose(bool disposing)
    Parameters
    Type Name Description
    Boolean disposing

    Implements

    System.IDisposable

    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>>)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX