Adds a scalar member to this entity type.

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

Syntax

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

Parameters

name
Type: System..::..String
Name of the new 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