StronglyTypedResources.CreateClassFromAllDatabaseResources

Creates strongly typed classes from all global resources in the current application from the active DbResourceManager. One class is created which contains each of the resource classes. Classnames are not necessarily named with

Uses the default DbResourceConfiguration.Current settings for connecting to the database.

public string CreateClassFromAllDatabaseResources(string Namespace,
	string FileName,
	IEnumerable<String> resourceSets)

Return Value

Generated class as a string

Parameters

Namespace
Optional namespace for the generated file

FileName
Output class file. .cs or .vb determines code language

resourceSets


See also:

Class StronglyTypedResources

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