C# Class nHydrate.Generator.Models.Column

Inheritance: ColumnBase, ICodeFacadeObject, INamedObject
Afficher le fichier Open project: nHydrate/nHydrate Class Usage Examples

Protected Properties

Свойство Type Description
_codeFacade string
_collate string
_computedColumn bool
_default string
_defaultIsFunc bool
_formula string
_identity IdentityTypeConstants
_isReadOnly bool
_isUnique bool
_obsolete bool
_parentTableRef Reference
_primaryKey bool
_relationshipRef Reference
_validationExpression string

Private Properties

Свойство Type Description
GetFriendlyName string
GetIntellisenseRemarks string
IsValidDefault bool
IsValidDefault bool
SupportsIdentity bool

Méthodes publiques

Méthode Description
CanHaveDefault ( ) : bool
Column ( INHydrateModelObject root ) : System
CreateRef ( ) : Reference
CreateRef ( string key ) : Reference
GetCodeDefault ( ) : string

Gets the C# code equivalent for this default value

GetCodeFacade ( ) : string
GetCodeType ( bool allowNullable, bool forceNull ) : string
GetSQLDefault ( ) : string

Gets the SQL equivalent for this default value

XmlAppend ( XmlNode node ) : void
XmlLoad ( XmlNode node ) : void

Méthodes protégées

Méthode Description
ResetKey ( ) : void

Private Methods

Méthode Description
GetFriendlyName ( ) : string
GetIntellisenseRemarks ( ) : string
IsValidDefault ( ) : bool
IsValidDefault ( string value ) : bool
SupportsIdentity ( ) : bool

Method Details

CanHaveDefault() public méthode

public CanHaveDefault ( ) : bool
Résultat bool

Column() public méthode

public Column ( INHydrateModelObject root ) : System
root INHydrateModelObject
Résultat System

CreateRef() public méthode

public CreateRef ( ) : Reference
Résultat Reference

CreateRef() public méthode

public CreateRef ( string key ) : Reference
key string
Résultat Reference

GetCodeDefault() public méthode

Gets the C# code equivalent for this default value
public GetCodeDefault ( ) : string
Résultat string

GetCodeFacade() public méthode

public GetCodeFacade ( ) : string
Résultat string

GetCodeType() public méthode

public GetCodeType ( bool allowNullable, bool forceNull ) : string
allowNullable bool
forceNull bool
Résultat string

GetSQLDefault() public méthode

Gets the SQL equivalent for this default value
public GetSQLDefault ( ) : string
Résultat string

ResetKey() protected méthode

protected ResetKey ( ) : void
Résultat void

XmlAppend() public méthode

public XmlAppend ( XmlNode node ) : void
node System.Xml.XmlNode
Résultat void

XmlLoad() public méthode

public XmlLoad ( XmlNode node ) : void
node System.Xml.XmlNode
Résultat void

Property Details

_codeFacade protected_oe property

protected string _codeFacade
Résultat string

_collate protected_oe property

protected string _collate
Résultat string

_computedColumn protected_oe property

protected bool _computedColumn
Résultat bool

_default protected_oe property

protected string _default
Résultat string

_defaultIsFunc protected_oe property

protected bool _defaultIsFunc
Résultat bool

_formula protected_oe property

protected string _formula
Résultat string

_identity protected_oe property

protected IdentityTypeConstants _identity
Résultat IdentityTypeConstants

_isReadOnly protected_oe property

protected bool _isReadOnly
Résultat bool

_isUnique protected_oe property

protected bool _isUnique
Résultat bool

_obsolete protected_oe property

protected bool _obsolete
Résultat bool

_parentTableRef protected_oe property

protected Reference _parentTableRef
Résultat Reference

_primaryKey protected_oe property

protected bool _primaryKey
Résultat bool

_relationshipRef protected_oe property

protected Reference _relationshipRef
Résultat Reference

_validationExpression protected_oe property

protected string _validationExpression
Résultat string