C# Class nHydrate.Generator.Models.Database

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

Protected Properties

Property Type Description
_collate string
_columns ColumnCollection
_createdByColumnName string
_createdDateColumName string
_customAggregateColumns CustomAggregateColumnCollection
_customAggregates CustomAggregateCollection
_customRetrieveRuleParameters ParameterCollection
_customRetrieveRules CustomRetrieveRuleCollection
_customStoredProcedureColumns CustomStoredProcedureColumnCollection
_customStoredProcedures CustomStoredProcedureCollection
_customViewColumns CustomViewColumnCollection
_customViews CustomViewCollection
_databaseName string
_fullIndexSearchColumnName string
_functionColumns FunctionColumnCollection
_functionParameters ParameterCollection
_functions FunctionCollection
_grantExecUser string
_modifiedByColumnName string
_modifiedDateColumnName string
_relations RelationCollection
_tables TableCollection
_timestampColumnName string
_useGeneratedCRUD bool
_viewRelations ViewRelationCollection

Private Properties

Property Type Description
GetGeneratedTables IEnumerable
GetRelationsWhereChild IEnumerable
GetRelationsWhereChild IEnumerable

Public Methods

Method Description
Database ( INHydrateModelObject root ) : System
XmlAppend ( XmlNode node ) : void
XmlLoad ( XmlNode node ) : void

Protected Methods

Method Description
RelationRoleExists ( string roleName, Relation skipItem ) : bool

Private Methods

Method Description
GetGeneratedTables ( ) : IEnumerable
GetRelationsWhereChild ( Table table ) : IEnumerable
GetRelationsWhereChild ( Table table, bool fullHierarchy ) : IEnumerable

Method Details

Database() public method

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

RelationRoleExists() protected method

protected RelationRoleExists ( string roleName, Relation skipItem ) : bool
roleName string
skipItem Relation
return bool

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

_collate protected property

protected string _collate
return string

_columns protected property

protected ColumnCollection _columns
return ColumnCollection

_createdByColumnName protected property

protected string _createdByColumnName
return string

_createdDateColumName protected property

protected string _createdDateColumName
return string

_customAggregateColumns protected property

protected CustomAggregateColumnCollection _customAggregateColumns
return CustomAggregateColumnCollection

_customAggregates protected property

protected CustomAggregateCollection _customAggregates
return CustomAggregateCollection

_customRetrieveRuleParameters protected property

protected ParameterCollection _customRetrieveRuleParameters
return ParameterCollection

_customRetrieveRules protected property

protected CustomRetrieveRuleCollection _customRetrieveRules
return CustomRetrieveRuleCollection

_customStoredProcedureColumns protected property

protected CustomStoredProcedureColumnCollection _customStoredProcedureColumns
return CustomStoredProcedureColumnCollection

_customStoredProcedures protected property

protected CustomStoredProcedureCollection _customStoredProcedures
return CustomStoredProcedureCollection

_customViewColumns protected property

protected CustomViewColumnCollection _customViewColumns
return CustomViewColumnCollection

_customViews protected property

protected CustomViewCollection _customViews
return CustomViewCollection

_databaseName protected property

protected string _databaseName
return string

_fullIndexSearchColumnName protected property

protected string _fullIndexSearchColumnName
return string

_functionColumns protected property

protected FunctionColumnCollection _functionColumns
return FunctionColumnCollection

_functionParameters protected property

protected ParameterCollection _functionParameters
return ParameterCollection

_functions protected property

protected FunctionCollection _functions
return FunctionCollection

_grantExecUser protected property

protected string _grantExecUser
return string

_modifiedByColumnName protected property

protected string _modifiedByColumnName
return string

_modifiedDateColumnName protected property

protected string _modifiedDateColumnName
return string

_relations protected property

protected RelationCollection _relations
return RelationCollection

_tables protected property

protected TableCollection _tables
return TableCollection

_timestampColumnName protected property

protected string _timestampColumnName
return string

_useGeneratedCRUD protected property

protected bool _useGeneratedCRUD
return bool

_viewRelations protected property

protected ViewRelationCollection _viewRelations
return ViewRelationCollection