LinqUtilsCreateEntityFieldsCoreInstanceFromEntityType Method  | 
 
            Creates a new entity fields core instance from the type specified. This routine uses a factory related to the type, not Activator, as some abstract entities
            may be used which don't have a public ctor. Falls back to activator if type is a custom type derived from an entity class. 
            
 
    Namespace: 
   SD.LLBLGen.Pro.LinqSupportClasses
    Assembly:
   SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntaxpublic static IEntityFieldsCore CreateEntityFieldsCoreInstanceFromEntityType(
	Type entityType,
	IElementCreatorCore generatedCodeElementCreator,
	bool createHierarchyFields
)
Public Shared Function CreateEntityFieldsCoreInstanceFromEntityType ( 
	entityType As Type,
	generatedCodeElementCreator As IElementCreatorCore,
	createHierarchyFields As Boolean
) As IEntityFieldsCore
Parameters
- entityType
 - Type: SystemType
Type of the entity. - generatedCodeElementCreator
 - Type: SD.LLBLGen.Pro.ORMSupportClassesIElementCreatorCore
The generated code element creator. - createHierarchyFields
 - Type: SystemBoolean
If true, it will create a hierarchyfields object, so all fields in the entire hierarchy are present too, if false, a fields object
            with just the fields of the entity itself, like the ones added to a newly created entity (subtype or not) 
Return Value
Type: 
IEntityFieldsCoreready to use entityfieldscore instance
See Also