Retrieves a scalar member in this entity type, or creates it if not found

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

Syntax

C#
public ModelMemberProperty GetOrCreateMember(
	string name,
	Type type,
	bool nullable,
	int ordinal
)
Visual Basic
Public Function GetOrCreateMember ( _
	name As String, _
	type As Type, _
	nullable As Boolean, _
	ordinal As Integer _
) As ModelMemberProperty
Visual C++
public:
ModelMemberProperty^ GetOrCreateMember(
	String^ name, 
	Type^ type, 
	bool nullable, 
	int ordinal
)

Parameters

name
Type: System..::..String
Name of the member property.
type
Type: System..::..Type
Type of the new member property.
nullable
Type: System..::..Boolean
Nullable; true or false.
ordinal
Type: System..::..Int32
Ordinal position within the entity type.

Return Value

A ModelMemberProperty object.

See Also