Share via


DatabaseExtensions.ExecuteSqlStringAccessor<TResult> Method

Include Protected Members
Include Inherited Members

Overload List

  Name Description
Ff672651.pubmethod(en-us,PandP.50).gifFf672651.static(en-us,PandP.50).gif ExecuteSqlStringAccessor<TResult>(Database, String)
Executes a Transact-SQL query and returns the result as an enumerable of TResult. The conversion from IDataRecord to TResult will be done for each property based on matching property name to column name.
Ff672651.pubmethod(en-us,PandP.50).gifFf672651.static(en-us,PandP.50).gif ExecuteSqlStringAccessor<TResult>(Database, String, IResultSetMapper<TResult>)
Executes a Transact-SQL query and returns the result as an enumerable of TResult. The conversion from IDataRecord to TResult will be done for each property based on matching property name to column name.
Ff672651.pubmethod(en-us,PandP.50).gifFf672651.static(en-us,PandP.50).gif ExecuteSqlStringAccessor<TResult>(Database, String, IRowMapper<TResult>)
Executes a Transact-SQL query and returns the result as an enumerable of TResult. The conversion from IDataRecord to TResult will be done for each property based on matching property name to column name.

See Also

DatabaseExtensions Class

DatabaseExtensions Members

Microsoft.Practices.EnterpriseLibrary.Data Namespace