C# Class PRI.ProductivityExtensions.SqlCommandExtensions.SqlCommandable

Class that contains extension methods that extend SqlCommand
ファイルを表示 Open project: peteraritchie/ProductivityExtensions

Public Methods

Method Description
BeginExecuteNonQuery ( this sqlcommand, AsyncCallback callback ) : IAsyncResult

Extends BeginExecuteNonQuery so that when a state object is not needed, null does not need to be passed. sqlcommand.BeginExecuteNonQuery(callback);

BeginExecuteReader ( this sqlcommand, AsyncCallback callback ) : IAsyncResult

Extends BeginExecuteReader so that when a state object is not needed, null does not need to be passed. sqlcommand.BeginExecuteReader(callback);

BeginExecuteReader ( this sqlcommand, AsyncCallback callback, System behavior ) : IAsyncResult

Extends BeginExecuteReader so that when a state object is not needed, null does not need to be passed. sqlcommand.BeginExecuteReader(callback, behavior);

BeginExecuteXmlReader ( this sqlcommand, AsyncCallback callback ) : IAsyncResult

Extends BeginExecuteXmlReader so that when a state object is not needed, null does not need to be passed. sqlcommand.BeginExecuteXmlReader(callback);

Method Details

BeginExecuteNonQuery() public static method

Extends BeginExecuteNonQuery so that when a state object is not needed, null does not need to be passed. sqlcommand.BeginExecuteNonQuery(callback);
public static BeginExecuteNonQuery ( this sqlcommand, AsyncCallback callback ) : IAsyncResult
sqlcommand this
callback AsyncCallback
return IAsyncResult

BeginExecuteReader() public static method

Extends BeginExecuteReader so that when a state object is not needed, null does not need to be passed. sqlcommand.BeginExecuteReader(callback);
public static BeginExecuteReader ( this sqlcommand, AsyncCallback callback ) : IAsyncResult
sqlcommand this
callback AsyncCallback
return IAsyncResult

BeginExecuteReader() public static method

Extends BeginExecuteReader so that when a state object is not needed, null does not need to be passed. sqlcommand.BeginExecuteReader(callback, behavior);
public static BeginExecuteReader ( this sqlcommand, AsyncCallback callback, System behavior ) : IAsyncResult
sqlcommand this
callback AsyncCallback
behavior System
return IAsyncResult

BeginExecuteXmlReader() public static method

Extends BeginExecuteXmlReader so that when a state object is not needed, null does not need to be passed. sqlcommand.BeginExecuteXmlReader(callback);
public static BeginExecuteXmlReader ( this sqlcommand, AsyncCallback callback ) : IAsyncResult
sqlcommand this
callback AsyncCallback
return IAsyncResult