FakeConnection - класс |
Пространство имён: Tessa.Platform.Data.Fake
public class FakeConnection : DbConnection
Тип FakeConnection предоставляет следующие члены.
| Имя | Описание | |
|---|---|---|
| FakeConnection(ActionFakeCommandExecutor) | Инициализирует новый экземпляр класса FakeConnection | |
| FakeConnection(ActionFakeCommandExecutor, TextWriter) | Инициализирует новый экземпляр класса FakeConnection |
| Имя | Описание | |
|---|---|---|
| CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Унаследован от Component.) | |
| ConnectionString | (Переопределяет DbConnectionConnectionString.) | |
| ConnectionTimeout | (Переопределяет DbConnectionConnectionTimeout.) | |
| Container | Gets the IContainer that contains the Component. (Унаследован от Component.) | |
| Database | (Переопределяет DbConnectionDatabase.) | |
| DataSource | (Переопределяет DbConnectionDataSource.) | |
| DbProviderFactory | Gets the DbProviderFactory for this DbConnection. (Унаследован от DbConnection.) | |
| DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Унаследован от Component.) | |
| Events | Gets the list of event handlers that are attached to this Component. (Унаследован от Component.) | |
| IgnoreExecuteReader | ||
| Output | ||
| OutputTransactions | ||
| ServerVersion | (Переопределяет DbConnectionServerVersion.) | |
| Site | (Унаследован от Component.) | |
| State | (Переопределяет DbConnectionState.) | |
| Transaction |
| Имя | Описание | |
|---|---|---|
| AsDbManager | ||
| BeginDbTransaction | (Переопределяет DbConnectionBeginDbTransaction(IsolationLevel).) | |
| BeginFakeTransaction | ||
| BeginFakeTransaction(IsolationLevel) | ||
| BeginTransaction | Starts a database transaction. (Унаследован от DbConnection.) | |
| BeginTransaction(IsolationLevel) | Starts a database transaction with the specified isolation level. (Унаследован от DbConnection.) | |
| BeginTransaction(FakeTransaction) | ||
| ChangeDatabase | (Переопределяет DbConnectionChangeDatabase(String).) | |
| Close | (Переопределяет DbConnectionClose.) | |
| CommitTransaction | ||
| CreateCommand | Creates and returns a DbCommand object associated with the current connection. (Унаследован от DbConnection.) | |
| CreateDbCommand | (Переопределяет DbConnectionCreateDbCommand.) | |
| CreateFakeCommand | ||
| Dispose | Releases all resources used by the Component. (Унаследован от Component.) | |
| Dispose(Boolean) | Освобождает неуправляемые ресурсы, используемые объектом FakeConnection, а при необходимости освобождает также управляемые ресурсы (Переопределяет ComponentDispose(Boolean).) | |
| EnlistTransaction | Enlists in the specified transaction. (Унаследован от DbConnection.) | |
| Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object.) | |
| ExecuteNonQuery | ||
| ExecuteReader | ||
| Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Унаследован от Component.) | |
| FromDbms | ||
| GetHashCode | Serves as the default hash function. (Унаследован от Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Унаследован от MarshalByRefObject.) | |
| GetSchema | Returns schema information for the data source of this DbConnection. (Унаследован от DbConnection.) | |
| GetSchema(String) | Returns schema information for the data source of this DbConnection using the specified string for the schema name. (Унаследован от DbConnection.) | |
| GetSchema(String, String) | Returns schema information for the data source of this DbConnection using the specified string for the schema name and the specified string array for the restriction values. (Унаследован от DbConnection.) | |
| GetService | (Унаследован от Component.) | |
| GetType | Gets the Type of the current instance. (Унаследован от Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Унаследован от MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Унаследован от MarshalByRefObject.) | |
| OnStateChange | Raises the StateChange event. (Унаследован от DbConnection.) | |
| Open | (Переопределяет DbConnectionOpen.) | |
| OpenAsync | An asynchronous version of Open, which opens a database connection with the settings specified by the ConnectionString. This method invokes the virtual method OpenAsync(CancellationToken) with CancellationToken.None. (Унаследован от DbConnection.) | |
| OpenAsync(CancellationToken) | (Переопределяет DbConnectionOpenAsync(CancellationToken).) | |
| RollbackTransaction | ||
| ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Унаследован от Component.) |
| Имя | Описание | |
|---|---|---|
| Disposed | Occurs when the component is disposed by a call to the Dispose method. (Унаследован от Component.) | |
| StateChange | Occurs when the state of the event changes. (Унаследован от DbConnection.) |
| Имя | Описание | |
|---|---|---|
| Get | (Определяется ComHelper.) | |
| InternalMarkerCanvas |
Возвращает маркер аннотации
(Определяется AnnotationInternalsAccessor.) | |
| Invoke | (Определяется ComHelper.) | |
| Set | (Определяется ComHelper.) |