1 implementation of IObjectReaderFactory
System.Data.Linq (1)
SqlClient\Reader\ObjectReaderCompiler.cs (1)
2432
class ObjectReaderFactory<TDataReader, TObject> :
IObjectReaderFactory
22 references to IObjectReaderFactory
System.Data.Linq (22)
SqlClient\Reader\ObjectReader.cs (1)
38
IObjectReaderFactory
Compile(SqlExpression expression, Type elementType);
SqlClient\Reader\ObjectReaderCompiler.cs (7)
183
public
IObjectReaderFactory
Compile(SqlExpression expression, Type elementType) {
186
IObjectReaderFactory
factory = null;
209
factory = (
IObjectReaderFactory
)Activator.CreateInstance(
301
internal
IObjectReaderFactory
factory;
302
public CacheInfo(Type elementType, Type dataReaderType, object mapping, DataLoadOptions options, SqlExpression projection,
IObjectReaderFactory
factory) {
317
internal
IObjectReaderFactory
GetFactory(Type elementType, Type dataReaderType, object mapping, DataLoadOptions options, SqlExpression projection) {
334
internal void AddFactory(Type elementType, Type dataReaderType, object mapping, DataLoadOptions options, SqlExpression projection,
IObjectReaderFactory
factory) {
SqlClient\SqlProvider.cs (14)
819
IObjectReaderFactory
factory = null;
842
IObjectReaderFactory
factory = this.GetReaderFactory(qi.Query, elementType);
901
IObjectReaderFactory
factory = null;
991
private IExecuteResult ExecuteAll(Expression query, QueryInfo[] queryInfos,
IObjectReaderFactory
factory, object[] userArguments, ICompiledSubQuery[] subQueries) {
1029
private IExecuteResult Execute(Expression query, QueryInfo queryInfo,
IObjectReaderFactory
factory, object[] parentArgs, object[] userArgs, ICompiledSubQuery[] subQueries, object lastResult) {
1224
IObjectReaderFactory
factory = this.GetDefaultFactory(rowType);
1636
private
IObjectReaderFactory
GetReaderFactory(SqlNode node, Type elemType) {
1651
IObjectReaderFactory
factory;
1661
private
IObjectReaderFactory
GetDefaultFactory(MetaType rowType) {
1689
IObjectReaderFactory
factory;
1692
internal CompiledQuery(SqlProvider provider, Expression query, QueryInfo[] queryInfos,
IObjectReaderFactory
factory, ICompiledSubQuery[] subQueries) {
1738
IObjectReaderFactory
factory;
1742
internal CompiledSubQuery(QueryInfo queryInfo,
IObjectReaderFactory
factory, ReadOnlyCollection<Me.SqlParameter> parameters, ICompiledSubQuery[] subQueries) {
1992
IObjectReaderFactory
factory = this.provider.GetDefaultFactory(metaType);