C# Class Composable.CQRS.EventSourcing.MicrosoftSQLServer.TableSchemaManager

显示文件 Open project: mlidbom/Composable.Monolithic

Public Methods

Method Description
Create ( SqlConnection connection ) : void
DropIfExists ( SqlConnection connection ) : void
Exists ( SqlConnection connection ) : bool

Private Methods

Method Description
ExecuteNonQuery ( SqlConnection connection, string sql ) : void

Method Details

Create() public method

public Create ( SqlConnection connection ) : void
connection System.Data.SqlClient.SqlConnection
return void

DropIfExists() public method

public DropIfExists ( SqlConnection connection ) : void
connection System.Data.SqlClient.SqlConnection
return void

Exists() public method

public Exists ( SqlConnection connection ) : bool
connection System.Data.SqlClient.SqlConnection
return bool