C# Class nHydrate.Generator.Models.Parameter

Inheritance: nHydrate.Generator.Common.GeneratorFramework.BaseModelObject, ICodeFacadeObject, INamedObject, ICloneable
显示文件 Open project: nHydrate/nHydrate Class Usage Examples

Protected Properties

Property Type Description
_allowNull bool
_codeFacade string
_dataType System.Data.SqlDbType
_default string
_description string
_generated bool
_id int
_length int
_name string
_parentTableRef Reference
_relationshipRef Reference
_scale int
_sortOrder int

Private Properties

Property Type Description
GetLengthString string

Public Methods

Method Description
Clone ( ) : object
CreateRef ( ) : Reference
CreateRef ( string key ) : Reference
GetCodeDefault ( ) : string

Gets the C# code equivalent for this default value

GetCodeFacade ( ) : string
GetCodeType ( ) : string
GetCodeType ( bool allowNullable ) : string
GetPredefinedScale ( ) : int
GetPredefinedSize ( ) : int
GetSQLDefault ( ) : string

Gets the SQL equivalent for this default value

Parameter ( INHydrateModelObject root ) : System
ResetId ( int newId ) : void
ToString ( ) : string
XmlAppend ( XmlNode node ) : void
XmlLoad ( XmlNode node ) : void

Protected Methods

Method Description
SetKey ( string key ) : void

Private Methods

Method Description
GetLengthString ( ) : string

Method Details

Clone() public method

public Clone ( ) : object
return object

CreateRef() public method

public CreateRef ( ) : Reference
return Reference

CreateRef() public method

public CreateRef ( string key ) : Reference
key string
return Reference

GetCodeDefault() public method

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

GetCodeFacade() public method

public GetCodeFacade ( ) : string
return string

GetCodeType() public method

public GetCodeType ( ) : string
return string

GetCodeType() public method

public GetCodeType ( bool allowNullable ) : string
allowNullable bool
return string

GetPredefinedScale() public method

public GetPredefinedScale ( ) : int
return int

GetPredefinedSize() public method

public GetPredefinedSize ( ) : int
return int

GetSQLDefault() public method

Gets the SQL equivalent for this default value
public GetSQLDefault ( ) : string
return string

Parameter() public method

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

ResetId() public method

public ResetId ( int newId ) : void
newId int
return void

SetKey() protected method

protected SetKey ( string key ) : void
key string
return void

ToString() public method

public ToString ( ) : string
return string

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

_allowNull protected_oe property

protected bool _allowNull
return bool

_codeFacade protected_oe property

protected string _codeFacade
return string

_dataType protected_oe property

protected System.Data.SqlDbType _dataType
return System.Data.SqlDbType

_default protected_oe property

protected string _default
return string

_description protected_oe property

protected string _description
return string

_generated protected_oe property

protected bool _generated
return bool

_id protected_oe property

protected int _id
return int

_length protected_oe property

protected int _length
return int

_name protected_oe property

protected string _name
return string

_parentTableRef protected_oe property

protected Reference _parentTableRef
return Reference

_relationshipRef protected_oe property

protected Reference _relationshipRef
return Reference

_scale protected_oe property

protected int _scale
return int

_sortOrder protected_oe property

protected int _sortOrder
return int