C# Class nHydrate.Dsl.Field

Inheritance: nHydrate.Dsl.IModuleLink, nHydrate.Dsl.IContainerParent, nHydrate.Dsl.IField
ファイルを表示 Open project: nHydrate/nHydrate Class Usage Examples

Private Properties

Property Type Description
IsValidDefault bool
IsValidDefault bool
Validate void

Public Methods

Method Description
CanHaveDefault ( ) : bool
Field ( global::Microsoft.VisualStudio.Modeling store ) : System

Constructor

GetCodeDefault ( ) : string

Gets the C# code equivalent for this default value

GetCodeType ( ) : string
GetCodeType ( bool allowNullable ) : string
GetCodeType ( bool allowNullable, bool forceNull ) : string
IModuleLink ( Module module ) : void
IsSupportedType ( DataTypeConstants type, DatabaseTypeConstants sqlVersion ) : bool
ToString ( ) : string

Protected Methods

Method Description
OnDeleting ( ) : void
OnPropertyChanged ( System e ) : void

Private Methods

Method Description
IsValidDefault ( ) : bool
IsValidDefault ( string value ) : bool
Validate ( ValidationContext context ) : void

Method Details

CanHaveDefault() public method

public CanHaveDefault ( ) : bool
return bool

Field() public method

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

GetCodeDefault() public method

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

GetCodeType() public method

public GetCodeType ( ) : string
return string

GetCodeType() public method

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

GetCodeType() public method

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

IModuleLink() public method

public IModuleLink ( Module module ) : void
module Module
return void

IsSupportedType() public static method

public static IsSupportedType ( DataTypeConstants type, DatabaseTypeConstants sqlVersion ) : bool
type DataTypeConstants
sqlVersion DatabaseTypeConstants
return bool

OnDeleting() protected method

protected OnDeleting ( ) : void
return void

OnPropertyChanged() protected method

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

ToString() public method

public ToString ( ) : string
return string