Class DbResourceMySqlDataManager

MySql implementation of the Db SQL data resource provider.

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

Remarks

IMPORTANT: In order to use this provider make sure you add the MySql.Data NuGet Package to your project.

Class Members

MemberDescription

Constructor

CreateBackupTable

Create a backup of the localization database.

Note the table used is the one specified in the Configuration.ResourceTableName

public virtual bool CreateBackupTable(string BackupTableName)

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)

GetDb

Creates an instance of the DataAccess Data provider

public virtual DataAccessBase GetDb(string connectionString)

IsLocalizationTable

Checks to see if the LocalizationTable exists

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