Table of Contents

Class SQLiteProvider

Namespace
JJMasterData.Commons.Data.Entity.Providers
Assembly
JJMasterData.Commons.dll
public class SQLiteProvider : EntityProviderBase
Inheritance
SQLiteProvider
Inherited Members

Constructors

SQLiteProvider(IOptionsSnapshot<MasterDataCommonsOptions>, ILoggerFactory)

public SQLiteProvider(IOptionsSnapshot<MasterDataCommonsOptions> options, ILoggerFactory loggerFactory)

Parameters

options IOptionsSnapshot<MasterDataCommonsOptions>
loggerFactory ILoggerFactory

Properties

VariablePrefix

public override string VariablePrefix { get; }

Property Value

string

Methods

GetAlterTableScript(Element, IEnumerable<ElementField>)

public override string GetAlterTableScript(Element element, IEnumerable<ElementField> fields)

Parameters

element Element
fields IEnumerable<ElementField>

Returns

string

GetCreateTableScript(Element, List<RelationshipReference>?)

public override string GetCreateTableScript(Element element, List<RelationshipReference>? relationships = null)

Parameters

element Element
relationships List<RelationshipReference>

Returns

string

GetDeleteCommand(Element, Dictionary<string, object>)

public override DataAccessCommand GetDeleteCommand(Element element, Dictionary<string, object> filters)

Parameters

element Element
filters Dictionary<string, object>

Returns

DataAccessCommand

GetElementFromTableAsync(string, Guid?)

public override Task<Element> GetElementFromTableAsync(string tableName, Guid? connectionId = null)

Parameters

tableName string
connectionId Guid?

Returns

Task<Element>

GetInsertCommand(Element, Dictionary<string, object?>)

public override DataAccessCommand GetInsertCommand(Element element, Dictionary<string, object?> values)

Parameters

element Element
values Dictionary<string, object>

Returns

DataAccessCommand

GetInsertOrReplaceCommand(Element, Dictionary<string, object?>)

protected override DataAccessCommand GetInsertOrReplaceCommand(Element element, Dictionary<string, object?> values)

Parameters

element Element
values Dictionary<string, object>

Returns

DataAccessCommand

GetReadCommand(Element, EntityParameters, DataAccessParameter)

public override DataAccessCommand GetReadCommand(Element element, EntityParameters entityParameters, DataAccessParameter totalOfRecordsParameter)

Parameters

element Element
entityParameters EntityParameters
totalOfRecordsParameter DataAccessParameter

Returns

DataAccessCommand

GetReadProcedureScript(Element)

public override string GetReadProcedureScript(Element element)

Parameters

element Element

Returns

string

GetUpdateCommand(Element, Dictionary<string, object?>)

public override DataAccessCommand GetUpdateCommand(Element element, Dictionary<string, object?> values)

Parameters

element Element
values Dictionary<string, object>

Returns

DataAccessCommand

GetWriteProcedureScript(Element)

public override string GetWriteProcedureScript(Element element)

Parameters

element Element

Returns

string