C# Class nHydrate.Dsl.EntityHasEntities

Inheritance: nHydrate.Dsl.IModuleLink
Mostrar archivo Open project: nHydrate/nHydrate Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
EntityHasEntities ( Entity source, Entity target ) : System

Constructor Creates a EntityHasEntities link in the same Partition as the given Entity

EntityHasEntities ( global::Microsoft.VisualStudio.Modeling store ) : System

Constructor

EntityHasEntities ( global::Microsoft.VisualStudio.Modeling store, global::Microsoft.VisualStudio.Modeling roleAssignments, global::Microsoft.VisualStudio.Modeling propertyAssignments ) : System

Constructor

GetAssociativeOtherRelation ( ) : EntityHasEntities

Gets the other relation on an associative table

GetSecondaryAssociativeTable ( ) : Entity
IModuleLink ( Module module ) : void
IsPrimaryKeyRelation ( ) : bool

Determine if this relationship is based on primary keys

ToString ( ) : string

Protected Methods

Method Description
OnDeleting ( ) : void

Method Details

EntityHasEntities() public method

Constructor Creates a EntityHasEntities link in the same Partition as the given Entity
public EntityHasEntities ( Entity source, Entity target ) : System
source Entity Entity to use as the source of the relationship.
target Entity Entity to use as the target of the relationship.
return System

EntityHasEntities() public method

Constructor
public EntityHasEntities ( global::Microsoft.VisualStudio.Modeling store ) : System
store global::Microsoft.VisualStudio.Modeling Store where new link is to be created.
return System

EntityHasEntities() public method

Constructor
public EntityHasEntities ( global::Microsoft.VisualStudio.Modeling store, global::Microsoft.VisualStudio.Modeling roleAssignments, global::Microsoft.VisualStudio.Modeling propertyAssignments ) : System
store global::Microsoft.VisualStudio.Modeling Store where new link is to be created.
roleAssignments global::Microsoft.VisualStudio.Modeling List of relationship role assignments.
propertyAssignments global::Microsoft.VisualStudio.Modeling List of properties assignments to set on the new link.
return System

GetAssociativeOtherRelation() public method

Gets the other relation on an associative table
public GetAssociativeOtherRelation ( ) : EntityHasEntities
return EntityHasEntities

GetSecondaryAssociativeTable() public method

public GetSecondaryAssociativeTable ( ) : Entity
return Entity

IModuleLink() public method

public IModuleLink ( Module module ) : void
module Module
return void

IsPrimaryKeyRelation() public method

Determine if this relationship is based on primary keys
public IsPrimaryKeyRelation ( ) : bool
return bool

OnDeleting() protected method

protected OnDeleting ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string