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


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

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

Name of the class to be generated

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