StronglyTypedResources.CreateClassFromDatabaseResource

Creates a strongly typed resource class for a ResoureSet from the DbResourceManager.

Note: Uses the default ResourceProvider settings as set in the DbResourceConfiguration.Current property for opening the database and otherwise setting values.

public string CreateClassFromDatabaseResource(string ResourceSetName,
	string Namespace,
	string Classname,
	string FileName)

Return Value

string of the generated class

Parameters

ResourceSetName
The name of the resource set. Should be a GLOBAL resource

Namespace
The namespace for the generated class. Null or string.Empty to not generate a namespace

Classname
Name of the class to be generated

FileName
Output filename for the CSharp class. If null no file is generated and only the class is returned


See also:

Class StronglyTypedResources

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