OracleExtensions Class
.NET Standard 2.x
Contains the Oracle
extension methods that enable you to use an IDataContextOptions<TAdoDbContext> object to configure the context to connect to an Oracle database.
Namespace: SnapObjects.Data.Oracle
Assembly: SnapObjects.Data.Oracle.dll
Syntax
public static class OracleExtensions
Methods
Name | Return Type | Description |
---|---|---|
UseOracle<TAdoDbContext>(this IDataContextOptions<TAdoDbContext> contextOptions, string connectionString) | IDataContextOptions<TAdoDbContext> | Configures the context to connect to an Oracle database. |
UseOracle<TAdoDbContext>(this IDataContextOptions<TAdoDbContext> contextOptions, string connectionString, Action<OracleDataContextOptions<TAdoDbContext>> options) | IDataContextOptions<TAdoDbContext> | Configures the context to connect to an Oracle database. |
UseOracle<TAdoDbContext>(this IDataContextOptions<TAdoDbContext> contextOptions, IConfiguration configuration, string connectionKey) | IDataContextOptions<TAdoDbContext> | Configures the context to connect to an Oracle database. |