C# Class nHydrate.Generator.Models.ViewRelation

Inheritance: nHydrate.Generator.Common.GeneratorFramework.BaseModelObject
Show file Open project: nHydrate/nHydrate

Protected Properties

Property Type Description
_childViewRef Reference
_columnRelationships ViewColumnRelationshipCollection
_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
IsInvalidRelation ( ) : bool
ResetId ( int newId ) : void
ToLongString ( ) : string
ToString ( ) : string
ViewRelation ( INHydrateModelObject root ) : System
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

IsInvalidRelation() public method

public IsInvalidRelation ( ) : 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

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

ViewRelation() public method

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

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

_childViewRef protected property

protected Reference _childViewRef
return Reference

_columnRelationships protected property

protected ViewColumnRelationshipCollection _columnRelationships
return ViewColumnRelationshipCollection

_constraintName protected property

protected string _constraintName
return string

_id protected property

protected int _id
return int

_parentTableRef protected property

protected Reference _parentTableRef
return Reference

_roleName protected property

protected string _roleName
return string