Retrieves an existing entity type, or creates a new one if no matching entity type is found.

Namespace: HuagatiEDMXTools
Assembly: HuagatiEDMXTools (in HuagatiEDMXTools.dll) Version: 2.21.4044.31765

Syntax

C#
public ModelEntityType GetOrCreateEntityType(
	string entityTypeName,
	ModelEntityType baseType
)
Visual Basic
Public Function GetOrCreateEntityType ( _
	entityTypeName As String, _
	baseType As ModelEntityType _
) As ModelEntityType
Visual C++
public:
ModelEntityType^ GetOrCreateEntityType(
	String^ entityTypeName, 
	ModelEntityType^ baseType
)

Parameters

entityTypeName
Type: System..::..String
Entity type name.
baseType
Type: HuagatiEDMXTools..::..ModelEntityType
Base type that this entity type will inherit from if creating a new type.

Return Value

A ModelEntityType object.

See Also