Retrieves an existing entityset based on a conceptual model entityset/type, or creates a new one if a match can not be found.

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

Syntax

C#
public StoreEntitySet GetOrCreateEntitySet(
	ModelEntitySet modelEntitySet,
	ModelEntityType modelEntityType,
	string schemaName,
	string tableName
)
Visual Basic
Public Function GetOrCreateEntitySet ( _
	modelEntitySet As ModelEntitySet, _
	modelEntityType As ModelEntityType, _
	schemaName As String, _
	tableName As String _
) As StoreEntitySet
Visual C++
public:
StoreEntitySet^ GetOrCreateEntitySet(
	ModelEntitySet^ modelEntitySet, 
	ModelEntityType^ modelEntityType, 
	String^ schemaName, 
	String^ tableName
)

Parameters

modelEntitySet
Type: HuagatiEDMXTools..::..ModelEntitySet
Conceptual model entity set to match.
modelEntityType
Type: HuagatiEDMXTools..::..ModelEntityType
Conceptual model entity type to match.
schemaName
Type: System..::..String
Database schemaname for the new entity set.
tableName
Type: System..::..String
Tablename for the new entityset.

Return Value

A StoreEntitySet object.

See Also