Show / Hide Table of Contents

    OdbcSqlAnywhereExtensions Class

    .NET Standard 2.x

    Contains the SqlAnywhere extension methods that enable you to use an IDataContextOptions<TAdoDbContext> object to configure the context to connect to an SAP SQL Anywhere database.

    Namespace: SnapObjects.Data.Odbc

    Assembly: SnapObjects.Data.Odbc.dll

    Syntax

    public static class OdbcSqlAnywhereExtensions
    

    Methods

    Name Return Type Description
    UseSqlAnywhere<TAdoDbContext>(this IDataContextOptions<TAdoDbContext> contextOptions, string connectionString) IDataContextOptions<TAdoDbContext> Configures the context to connect to an SAP SQL Anywhere database.
    UseSqlAnywhere<TAdoDbContext>(this IDataContextOptions<TAdoDbContext> contextOptions, string connectionString, Action<SqlAnywhereDataContextOptions<TAdoDbContext>> options) IDataContextOptions<TAdoDbContext> Configures the context to connect to an SAP SQL Anywhere database.
    UseSqlAnywhere<TAdoDbContext>(this IDataContextOptions<TAdoDbContext> contextOptions, IConfiguration configuration, string connectionKey) IDataContextOptions<TAdoDbContext> Configures the context to connect to an SAP SQL Anywhere database.
    Back to top Generated by Appeon