C# Class SchemaZen.Library.Models.Column

Afficher le fichier Open project: sethreno/schemazen Class Usage Examples

Méthodes publiques

Свойство Type Description
ComputedDefinition string
Default Default
Identity Identity
IsNullable bool
IsRowGuidCol bool
Length int
Name string
Position int
Precision byte
Scale int
Type string

Private Properties

Свойство Type Description
ScriptBase string
SqlTypeToNativeType System.Type

Méthodes publiques

Méthode Description
Column ( ) : System
Column ( string name, string type, bool nullable, Default defaultValue ) : System
Column ( string name, string type, byte precision, int scale, bool nullable, Default defaultValue ) : System
Column ( string name, string type, int length, bool nullable, Default defaultValue ) : System
Compare ( Column c ) : ColumnDiff
ScriptAlter ( ) : string
ScriptCreate ( ) : string
SqlTypeToNativeType ( ) : Type

Private Methods

Méthode Description
ScriptBase ( bool includeDefaultConstraint ) : string
SqlTypeToNativeType ( string sqlType ) : Type

Method Details

Column() public méthode

public Column ( ) : System
Résultat System

Column() public méthode

public Column ( string name, string type, bool nullable, Default defaultValue ) : System
name string
type string
nullable bool
defaultValue Default
Résultat System

Column() public méthode

public Column ( string name, string type, byte precision, int scale, bool nullable, Default defaultValue ) : System
name string
type string
precision byte
scale int
nullable bool
defaultValue Default
Résultat System

Column() public méthode

public Column ( string name, string type, int length, bool nullable, Default defaultValue ) : System
name string
type string
length int
nullable bool
defaultValue Default
Résultat System

Compare() public méthode

public Compare ( Column c ) : ColumnDiff
c Column
Résultat ColumnDiff

ScriptAlter() public méthode

public ScriptAlter ( ) : string
Résultat string

ScriptCreate() public méthode

public ScriptCreate ( ) : string
Résultat string

SqlTypeToNativeType() public méthode

public SqlTypeToNativeType ( ) : Type
Résultat System.Type

Property Details

ComputedDefinition public_oe property

public string ComputedDefinition
Résultat string

Default public_oe property

public Default,SchemaZen.Library.Models Default
Résultat Default

Identity public_oe property

public Identity,SchemaZen.Library.Models Identity
Résultat Identity

IsNullable public_oe property

public bool IsNullable
Résultat bool

IsRowGuidCol public_oe property

public bool IsRowGuidCol
Résultat bool

Length public_oe property

public int Length
Résultat int

Name public_oe property

public string Name
Résultat string

Position public_oe property

public int Position
Résultat int

Precision public_oe property

public byte Precision
Résultat byte

Scale public_oe property

public int Scale
Résultat int

Type public_oe property

public string Type
Résultat string