Creates and adds a new conceptual model entity type inheriting from an existing entity type.

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

Syntax

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

Parameters

name
Type: System..::..String
Entity type name for the new entity type.
baseType
Type: HuagatiEDMXTools..::..ModelEntityType
Base type that this entity type inherits from.

Return Value

A ModelEntityType instance corresponding to the new entity type.

See Also