C# Class Signum.Engine.SqlCeConnector

Inheritance: Connector
ファイルを表示 Open project: signumsoftware/framework Class Usage Examples

Public Methods

Method Description
AllowsIndexWithWhere ( string where ) : bool
CleanDatabase ( DatabaseName database ) : void
CloneParameter ( System p ) : DbParameter
CreateConnection ( ) : DbConnection
DataSourceName ( ) : string
DatabaseName ( ) : string
FixType ( SqlDbType &type, int &size, int &scale ) : void
GetSqlDbType ( System p ) : SqlDbType
RollbackTransactionPoint ( System Transaction, string savePointName ) : void
SaveTransactionPoint ( System transaction, string savePointName ) : void
ShringDatabase ( string schemaName ) : SqlPreCommand
SqlCeConnector ( string connectionString, Schema schema, DynamicQueryManager dqm ) : System

Protected Methods

Method Description
BulkCopy ( DataTable dt, ObjectName destinationTable, SqlBulkCopyOptions options ) : void
ExecuteDataSet ( SqlPreCommandSimple preCommand ) : DataSet
ExecuteDataTable ( SqlPreCommandSimple preCommand ) : DataTable
ExecuteNonQuery ( SqlPreCommandSimple preCommand ) : int
ExecuteScalar ( SqlPreCommandSimple preCommand ) : object
UnsafeExecuteDataReader ( SqlPreCommandSimple preCommand ) : System.Data.Common.DbDataReader

Private Methods

Method Description
EnsureConnection ( ) : SqlCeConnection
HandleException ( SqlCeException ex ) : Exception
NewCommand ( SqlPreCommandSimple preCommand, SqlCeConnection overridenConnection ) : SqlCeCommand

Method Details

AllowsIndexWithWhere() public method

public AllowsIndexWithWhere ( string where ) : bool
where string
return bool

BulkCopy() protected method

protected BulkCopy ( DataTable dt, ObjectName destinationTable, SqlBulkCopyOptions options ) : void
dt System.Data.DataTable
destinationTable ObjectName
options SqlBulkCopyOptions
return void

CleanDatabase() public method

public CleanDatabase ( DatabaseName database ) : void
database DatabaseName
return void

CloneParameter() public method

public CloneParameter ( System p ) : DbParameter
p System
return System.Data.Common.DbParameter

CreateConnection() public method

public CreateConnection ( ) : DbConnection
return System.Data.Common.DbConnection

DataSourceName() public method

public DataSourceName ( ) : string
return string

DatabaseName() public method

public DatabaseName ( ) : string
return string

ExecuteDataSet() protected method

protected ExecuteDataSet ( SqlPreCommandSimple preCommand ) : DataSet
preCommand SqlPreCommandSimple
return System.Data.DataSet

ExecuteDataTable() protected method

protected ExecuteDataTable ( SqlPreCommandSimple preCommand ) : DataTable
preCommand SqlPreCommandSimple
return System.Data.DataTable

ExecuteNonQuery() protected method

protected ExecuteNonQuery ( SqlPreCommandSimple preCommand ) : int
preCommand SqlPreCommandSimple
return int

ExecuteScalar() protected method

protected ExecuteScalar ( SqlPreCommandSimple preCommand ) : object
preCommand SqlPreCommandSimple
return object

FixType() public method

public FixType ( SqlDbType &type, int &size, int &scale ) : void
type SqlDbType
size int
scale int
return void

GetSqlDbType() public method

public GetSqlDbType ( System p ) : SqlDbType
p System
return SqlDbType

RollbackTransactionPoint() public method

public RollbackTransactionPoint ( System Transaction, string savePointName ) : void
Transaction System
savePointName string
return void

SaveTransactionPoint() public method

public SaveTransactionPoint ( System transaction, string savePointName ) : void
transaction System
savePointName string
return void

ShringDatabase() public method

public ShringDatabase ( string schemaName ) : SqlPreCommand
schemaName string
return SqlPreCommand

SqlCeConnector() public method

public SqlCeConnector ( string connectionString, Schema schema, DynamicQueryManager dqm ) : System
connectionString string
schema Schema
dqm DynamicQueryManager
return System

UnsafeExecuteDataReader() protected method

protected UnsafeExecuteDataReader ( SqlPreCommandSimple preCommand ) : System.Data.Common.DbDataReader
preCommand SqlPreCommandSimple
return System.Data.Common.DbDataReader