C# Class nHydrate.Generator.Models.Relation

Inheritance: nHydrate.Generator.Common.GeneratorFramework.BaseModelObject
Datei anzeigen Open project: nHydrate/nHydrate Class Usage Examples

Protected Properties

Property Type Description
_childTableRef Reference
_columnRelationships ColumnRelationshipCollection
_constraintName string
_id int
_parentTableRef Reference
_roleName string

Private Properties

Property Type Description
RefreshRoleName void

Public Methods

Method Description
CreateRef ( ) : Reference
CreateRef ( string key ) : Reference
Equals ( object obj ) : bool
GetAssociativeOtherRelation ( ) : Relation
GetSecondaryAssociativeTable ( ) : Table
IsInvalidRelation ( ) : bool
IsPrimaryKeyRelation ( ) : bool
Relation ( INHydrateModelObject root ) : System
ResetId ( int newId ) : void
ToLongString ( ) : string
ToString ( ) : string
XmlAppend ( XmlNode node ) : void
XmlLoad ( XmlNode node ) : void

Protected Methods

Method Description
OnAfterChildTableChange ( object sender, System e ) : void
OnAfterParentTableChange ( object sender, System e ) : void
OnBeforeChildTableChange ( object sender, System e ) : void
OnBeforeParentTableChange ( object sender, System e ) : void

Private Methods

Method Description
RefreshRoleName ( ) : void

Method Details

CreateRef() public method

public CreateRef ( ) : Reference
return Reference

CreateRef() public method

public CreateRef ( string key ) : Reference
key string
return Reference

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetAssociativeOtherRelation() public method

public GetAssociativeOtherRelation ( ) : Relation
return Relation

GetSecondaryAssociativeTable() public method

public GetSecondaryAssociativeTable ( ) : Table
return Table

IsInvalidRelation() public method

public IsInvalidRelation ( ) : bool
return bool

IsPrimaryKeyRelation() public method

public IsPrimaryKeyRelation ( ) : bool
return bool

OnAfterChildTableChange() protected method

protected OnAfterChildTableChange ( object sender, System e ) : void
sender object
e System
return void

OnAfterParentTableChange() protected method

protected OnAfterParentTableChange ( object sender, System e ) : void
sender object
e System
return void

OnBeforeChildTableChange() protected method

protected OnBeforeChildTableChange ( object sender, System e ) : void
sender object
e System
return void

OnBeforeParentTableChange() protected method

protected OnBeforeParentTableChange ( object sender, System e ) : void
sender object
e System
return void

Relation() public method

public Relation ( INHydrateModelObject root ) : System
root INHydrateModelObject
return System

ResetId() public method

public ResetId ( int newId ) : void
newId int
return void

ToLongString() public method

public ToLongString ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string

XmlAppend() public method

public XmlAppend ( XmlNode node ) : void
node System.Xml.XmlNode
return void

XmlLoad() public method

public XmlLoad ( XmlNode node ) : void
node System.Xml.XmlNode
return void

Property Details

_childTableRef protected_oe property

protected Reference _childTableRef
return Reference

_columnRelationships protected_oe property

protected ColumnRelationshipCollection _columnRelationships
return ColumnRelationshipCollection

_constraintName protected_oe property

protected string _constraintName
return string

_id protected_oe property

protected int _id
return int

_parentTableRef protected_oe property

protected Reference _parentTableRef
return Reference

_roleName protected_oe property

protected string _roleName
return string