C# 클래스 Microsoft.AspNet.SignalR.SqlServer.ObservableDbOperation

A DbOperation that continues to execute over and over as new results arrive. Will attempt to use SQL Query Notifications, otherwise falls back to a polling receive loop.
상속: DbOperation, IDisposable, IDbBehavior
파일 보기 프로젝트 열기: SignalR/SignalR 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Dispose void
ExecuteReaderWithUpdates void
IDbBehavior bool
IDbBehavior void
InitEvents void
SqlDependency_OnChange void
StartSqlDependencyListener bool
Stop void

공개 메소드들

메소드 설명
ObservableDbOperation ( string connectionString, string commandText, TraceSource traceSource ) : System
ObservableDbOperation ( string connectionString, string commandText, TraceSource traceSource, IDbProviderFactory dbProviderFactory, IDbBehavior dbBehavior ) : System

보호된 메소드들

메소드 설명
AddSqlDependency ( IDbCommand command, Action callback ) : void

비공개 메소드들

메소드 설명
Dispose ( ) : void
ExecuteReaderWithUpdates ( DbOperation>.Action processRecord ) : void
IDbBehavior ( ) : bool
IDbBehavior ( IDbCommand command, Action callback ) : void
InitEvents ( ) : void
SqlDependency_OnChange ( System.Data.SqlClient.SqlNotificationEventArgs e, DbOperation>.Action processRecord ) : void
StartSqlDependencyListener ( ) : bool
Stop ( Exception ex ) : void

메소드 상세

AddSqlDependency() 보호된 메소드

protected AddSqlDependency ( IDbCommand command, Action callback ) : void
command IDbCommand
callback Action
리턴 void

ObservableDbOperation() 공개 메소드

public ObservableDbOperation ( string connectionString, string commandText, TraceSource traceSource ) : System
connectionString string
commandText string
traceSource System.Diagnostics.TraceSource
리턴 System

ObservableDbOperation() 공개 메소드

public ObservableDbOperation ( string connectionString, string commandText, TraceSource traceSource, IDbProviderFactory dbProviderFactory, IDbBehavior dbBehavior ) : System
connectionString string
commandText string
traceSource System.Diagnostics.TraceSource
dbProviderFactory IDbProviderFactory
dbBehavior IDbBehavior
리턴 System