C# Class System.Data.Metadata.Edm.EntityType

concrete Representation the Entity Type
Inheritance: System.Data.Metadata.Edm.EntityTypeBase
Exibir arquivo Open project: mahasak/dotnet452 Class Usage Examples

Public Methods

Method Description
GetReferenceType ( ) : System.Data.Metadata.Edm.RefType

Returns the Reference type pointing to this entity type

Private Methods

Method Description
EntityType ( string name, string namespaceName, DataSpace dataSpace ) : System

Initializes a new instance of Entity Type

EntityType ( string name, string namespaceName, DataSpace dataSpace, IEnumerable keyMemberNames, IEnumerable members ) : System
GetKeyRowType ( MetadataWorkspace metadataWorkspace ) : System.Data.Metadata.Edm.RowType
SetMemberSql ( System.Data.Metadata.Edm.EdmMember member, string sql ) : void

Sets SQL describing a member of this entity type. Requires: member must belong to this type

TryGetMemberSql ( System.Data.Metadata.Edm.EdmMember member, string &sql ) : bool

Get SQL description of a member of this entity type. Requires: member must belong to this type

TryGetNavigationProperty ( string relationshipType, string fromName, string toName, System.Data.Metadata.Edm.NavigationProperty &navigationProperty ) : bool

Attempts to get the property name for the ----oication between the two given end names. Note that this property may not exist if a navigation property is defined in one direction but not in the other.

ValidateMemberForAdd ( System.Data.Metadata.Edm.EdmMember member ) : void

Validates a EdmMember object to determine if it can be added to this type's Members collection. If this method returns without throwing, it is assumed the member is valid.

Method Details

GetReferenceType() public method

Returns the Reference type pointing to this entity type
public GetReferenceType ( ) : System.Data.Metadata.Edm.RefType
return System.Data.Metadata.Edm.RefType