C# Class Insight.Database.Schema.Implementation.SchemaImpl

Datei anzeigen Open project: jonwagner/Insight.Database.Schema Class Usage Examples

Protected Properties

Property Type Description
_goSplit System.Text.RegularExpressions.Regex

Public Methods

Method Description
CanDrop ( SchemaInstaller context, IDbConnection connection ) : bool
CanModify ( SchemaInstaller context, IDbConnection connection ) : bool
Drop ( IDbConnection connection ) : void
Exists ( IDbConnection connection ) : bool
Install ( IDbConnection connection, IEnumerable objects ) : void
SchemaImpl ( string name, string sql, int expectedPartsInName ) : System

Private Methods

Method Description
GetImplementation ( SchemaObjectType type, string name, string sql ) : SchemaImpl

Method Details

CanDrop() public method

public CanDrop ( SchemaInstaller context, IDbConnection connection ) : bool
context SchemaInstaller
connection IDbConnection
return bool

CanModify() public method

public CanModify ( SchemaInstaller context, IDbConnection connection ) : bool
context SchemaInstaller
connection IDbConnection
return bool

Drop() public abstract method

public abstract Drop ( IDbConnection connection ) : void
connection IDbConnection
return void

Exists() public abstract method

public abstract Exists ( IDbConnection connection ) : bool
connection IDbConnection
return bool

Install() public method

public Install ( IDbConnection connection, IEnumerable objects ) : void
connection IDbConnection
objects IEnumerable
return void

SchemaImpl() public method

public SchemaImpl ( string name, string sql, int expectedPartsInName ) : System
name string
sql string
expectedPartsInName int
return System

Property Details

_goSplit protected_oe static_oe property

Determines how to split a GO statement in a batch.
protected static Regex,System.Text.RegularExpressions _goSplit
return System.Text.RegularExpressions.Regex