C# Class nHydrate.Dsl.nHydrateModel

Show file Open project: nHydrate/nHydrate Class Usage Examples

Private Properties

Property Type Description
Validate void
ValidateEntities void
ValidateModules void
ValidateStoredProcedures void
ValidateView void

Public Methods

Method Description
FindByChildTable ( Entity entity ) : IList
FindByChildTable ( Entity entity, bool includeHierarchy ) : IList

Find all relationships that have a specific child table

FindByParentTable ( Entity entity ) : IList
FindByParentTable ( Entity entity, bool includeHierarchy ) : IList

Find all relationships that have a specific parent table

GetRelationsWhereChild ( Entity entity, bool fullHierarchy ) : IEnumerable
nHydrateModel ( global::Microsoft.VisualStudio.Modeling store ) : System

Constructor

Protected Methods

Method Description
OnPropertyChanged ( System e ) : void

Private Methods

Method Description
Validate ( ValidationContext context ) : void
ValidateEntities ( ValidationContext context ) : void
ValidateModules ( ValidationContext context ) : void
ValidateStoredProcedures ( ValidationContext context ) : void
ValidateView ( ValidationContext context ) : void

Method Details

FindByChildTable() public method

public FindByChildTable ( Entity entity ) : IList
entity Entity
return IList

FindByChildTable() public method

Find all relationships that have a specific child table
public FindByChildTable ( Entity entity, bool includeHierarchy ) : IList
entity Entity The table from which all relations begin
includeHierarchy bool Determines if the return includes all tables in the inheritence tree
return IList

FindByParentTable() public method

public FindByParentTable ( Entity entity ) : IList
entity Entity
return IList

FindByParentTable() public method

Find all relationships that have a specific parent table
public FindByParentTable ( Entity entity, bool includeHierarchy ) : IList
entity Entity The table from which all relations begin
includeHierarchy bool Determines if the return includes all tables in the inheritence tree
return IList

GetRelationsWhereChild() public method

public GetRelationsWhereChild ( Entity entity, bool fullHierarchy ) : IEnumerable
entity Entity
fullHierarchy bool
return IEnumerable

OnPropertyChanged() protected method

protected OnPropertyChanged ( System e ) : void
e System
return void

nHydrateModel() public method

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