C# Class SchemaZen.Library.Models.Routine

Inheritance: INameable, IHasOwner, IScriptable
显示文件 Open project: sethreno/schemazen Class Usage Examples

Public Properties

Property Type Description
AnsiNull bool
Db Database
Disabled bool
QuotedId bool
RelatedTableName string
RelatedTableSchema string
RoutineType RoutineKind
Text string

Public Methods

Method Description
GetSQLType ( ) : string
GetSQLTypeForRegEx ( ) : string
Routine ( string owner, string name, Database db ) : System
ScriptAlter ( Database db ) : string
ScriptCreate ( ) : string
ScriptDrop ( ) : string
Warnings ( ) : IEnumerable

Private Methods

Method Description
ScriptBase ( Database db, string definition ) : string
ScriptQuotedIdAndAnsiNulls ( Database db, bool databaseDefaults ) : string

Method Details

GetSQLType() public method

public GetSQLType ( ) : string
return string

GetSQLTypeForRegEx() public method

public GetSQLTypeForRegEx ( ) : string
return string

Routine() public method

public Routine ( string owner, string name, Database db ) : System
owner string
name string
db Database
return System

ScriptAlter() public method

public ScriptAlter ( Database db ) : string
db Database
return string

ScriptCreate() public method

public ScriptCreate ( ) : string
return string

ScriptDrop() public method

public ScriptDrop ( ) : string
return string

Warnings() public method

public Warnings ( ) : IEnumerable
return IEnumerable

Property Details

AnsiNull public_oe property

public bool AnsiNull
return bool

Db public_oe property

public Database,SchemaZen.Library.Models Db
return Database

Disabled public_oe property

public bool Disabled
return bool

QuotedId public_oe property

public bool QuotedId
return bool

RelatedTableName public_oe property

public string RelatedTableName
return string

RelatedTableSchema public_oe property

public string RelatedTableSchema
return string

RoutineType public_oe property

public RoutineKind RoutineType
return RoutineKind

Text public_oe property

public string Text
return string