Class SQLiteDataProvider
- Namespace
 - LinqToDB.DataProvider.SQLite
 
- Assembly
 - linq2db.dll
 
public abstract class SQLiteDataProvider : DynamicDataProviderBase<SQLiteProviderAdapter>, IDataProvider
  - Inheritance
 - 
      
      
      
      SQLiteDataProvider
 
- Implements
 
- Inherited Members
 
- Extension Methods
 
Constructors
SQLiteDataProvider(string)
Creates the specified SQLite provider based on the provider name.
protected SQLiteDataProvider(string name)
  Parameters
namestringIf ProviderName.SQLite is provided, the detection mechanism preferring System.Data.SQLite to Microsoft.Data.Sqlite will be used.
SQLiteDataProvider(string, MappingSchema)
protected SQLiteDataProvider(string name, MappingSchema mappingSchema)
  Parameters
namestringmappingSchemaMappingSchema
Properties
SupportedTableOptions
public override TableOptions SupportedTableOptions { get; }
  Property Value
Methods
BulkCopyAsync<T>(DataOptions, ITable<T>, IAsyncEnumerable<T>, CancellationToken)
public override Task<BulkCopyRowsCopied> BulkCopyAsync<T>(DataOptions options, ITable<T> table, IAsyncEnumerable<T> source, CancellationToken cancellationToken) where T : notnull
  Parameters
optionsDataOptionstableITable<T>sourceIAsyncEnumerable<T>cancellationTokenCancellationToken
Returns
Type Parameters
T
BulkCopyAsync<T>(DataOptions, ITable<T>, IEnumerable<T>, CancellationToken)
public override Task<BulkCopyRowsCopied> BulkCopyAsync<T>(DataOptions options, ITable<T> table, IEnumerable<T> source, CancellationToken cancellationToken) where T : notnull
  Parameters
optionsDataOptionstableITable<T>sourceIEnumerable<T>cancellationTokenCancellationToken
Returns
Type Parameters
T
BulkCopy<T>(DataOptions, ITable<T>, IEnumerable<T>)
public override BulkCopyRowsCopied BulkCopy<T>(DataOptions options, ITable<T> table, IEnumerable<T> source) where T : notnull
  Parameters
optionsDataOptionstableITable<T>sourceIEnumerable<T>
Returns
Type Parameters
T
CreateSqlBuilder(MappingSchema, DataOptions)
public override ISqlBuilder CreateSqlBuilder(MappingSchema mappingSchema, DataOptions dataOptions)
  Parameters
mappingSchemaMappingSchemadataOptionsDataOptions
Returns
ExecuteScope(DataConnection)
public override IExecutionScope? ExecuteScope(DataConnection dataConnection)
  Parameters
dataConnectionDataConnection
Returns
GetSchemaProvider()
public override ISchemaProvider GetSchemaProvider()
  Returns
GetSqlOptimizer(DataOptions)
public override ISqlOptimizer GetSqlOptimizer(DataOptions dataOptions)
  Parameters
dataOptionsDataOptions
Returns
IsDBNullAllowed(DataOptions, DbDataReader, int)
public override bool? IsDBNullAllowed(DataOptions options, DbDataReader reader, int idx)
  Parameters
optionsDataOptionsreaderDbDataReaderidxint
Returns
- bool?
 
NormalizeTypeName(string?)
protected override string? NormalizeTypeName(string? typeName)
  Parameters
typeNamestring
Returns
SetParameter(DataConnection, DbParameter, string, DbDataType, object?)
public override void SetParameter(DataConnection dataConnection, DbParameter parameter, string name, DbDataType dataType, object? value)
  Parameters
dataConnectionDataConnectionparameterDbParameternamestringdataTypeDbDataTypevalueobject
SetParameterType(DataConnection, DbParameter, DbDataType)
protected override void SetParameterType(DataConnection dataConnection, DbParameter parameter, DbDataType dataType)
  Parameters
dataConnectionDataConnectionparameterDbParameterdataTypeDbDataType