Class DbResourceSqLiteDataManager

Sql CE implementation of the Db SQL data provider

System.Object
  Westwind.Globalization.DbResourceDataManager
    Westwind.Globalization.DbResourceSqLiteDataManager
public class DbResourceSqLiteDataManager : DbResourceDataManager

Remarks

IMPORTANT: Make sure you add the System.Data.SQLite.Core NuGet Package to your project in order to have access SqlLite

Class Members

MemberDescription

Constructor

CreateLocalizationTable

public virtual bool CreateLocalizationTable(string tableName)

GetAllResourceIds

Returns all available resource ids for a given resource set in all languages.

Returns a ResourceIdItem object with ResourecId and HasValue fields. HasValue returns whether there are any entries in any culture for this resourceId

public virtual List GetAllResourceIds(string resourceSet)

GetAllResources

Returns a list of all the resources for all locales. The result is in a table called TResources that contains all fields of the table. The table is ordered by LocaleId.

This version returns either local or global resources in a Web app

Fields: ResourceId,Value,LocaleId,ResourceSet,Type

public virtual List GetAllResources(bool localResources,     bool applyValueConverters,     string resourceSet)

GetDb

Creates an instance of the DataAccess Data provider

public virtual DataAccessBase GetDb(string connectionString)

IsLocalizationTable

public virtual bool IsLocalizationTable(string tableName)

Requirements

Namespace: Westwind.Globalization
Assembly: westwind.globalization.dll

© West Wind Technologies, 2006 - 2019 • Updated: 01/24/18
Comment or report problem with topic