Retrieves an existing entityset based on 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
)
Visual Basic
Public Function GetOrCreateEntitySet ( _
	modelEntitySet As ModelEntitySet, _
	modelEntityType As ModelEntityType _
) As StoreEntitySet
Visual C++
public:
StoreEntitySet^ GetOrCreateEntitySet(
	ModelEntitySet^ modelEntitySet, 
	ModelEntityType^ modelEntityType
)

Parameters

modelEntitySet
Type: HuagatiEDMXTools..::..ModelEntitySet
Conceptual model entity set to match.
modelEntityType
Type: HuagatiEDMXTools..::..ModelEntityType
Conceptual model entity type to match.

Return Value

A StoreEntitySet object.

See Also