C# Class nHydrate.Generator.Models.Database

Inheritance: nHydrate.Generator.Common.GeneratorFramework.BaseModelObject
显示文件 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_oe property

protected string _collate
return string

_columns protected_oe property

protected ColumnCollection _columns
return ColumnCollection

_createdByColumnName protected_oe property

protected string _createdByColumnName
return string

_createdDateColumName protected_oe property

protected string _createdDateColumName
return string

_customAggregateColumns protected_oe property

protected CustomAggregateColumnCollection _customAggregateColumns
return CustomAggregateColumnCollection

_customAggregates protected_oe property

protected CustomAggregateCollection _customAggregates
return CustomAggregateCollection

_customRetrieveRuleParameters protected_oe property

protected ParameterCollection _customRetrieveRuleParameters
return ParameterCollection

_customRetrieveRules protected_oe property

protected CustomRetrieveRuleCollection _customRetrieveRules
return CustomRetrieveRuleCollection

_customStoredProcedureColumns protected_oe property

protected CustomStoredProcedureColumnCollection _customStoredProcedureColumns
return CustomStoredProcedureColumnCollection

_customStoredProcedures protected_oe property

protected CustomStoredProcedureCollection _customStoredProcedures
return CustomStoredProcedureCollection

_customViewColumns protected_oe property

protected CustomViewColumnCollection _customViewColumns
return CustomViewColumnCollection

_customViews protected_oe property

protected CustomViewCollection _customViews
return CustomViewCollection

_databaseName protected_oe property

protected string _databaseName
return string

_fullIndexSearchColumnName protected_oe property

protected string _fullIndexSearchColumnName
return string

_functionColumns protected_oe property

protected FunctionColumnCollection _functionColumns
return FunctionColumnCollection

_functionParameters protected_oe property

protected ParameterCollection _functionParameters
return ParameterCollection

_functions protected_oe property

protected FunctionCollection _functions
return FunctionCollection

_grantExecUser protected_oe property

protected string _grantExecUser
return string

_modifiedByColumnName protected_oe property

protected string _modifiedByColumnName
return string

_modifiedDateColumnName protected_oe property

protected string _modifiedDateColumnName
return string

_relations protected_oe property

protected RelationCollection _relations
return RelationCollection

_tables protected_oe property

protected TableCollection _tables
return TableCollection

_timestampColumnName protected_oe property

protected string _timestampColumnName
return string

_useGeneratedCRUD protected_oe property

protected bool _useGeneratedCRUD
return bool

_viewRelations protected_oe property

protected ViewRelationCollection _viewRelations
return ViewRelationCollection
EN | RU | DE | FR | ES | PT | IT | JP | ZH | KO