3 instantiations of ObjectResult
System.Data.Entity (3)
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (1)
206
return new
ObjectResult
<TResultType>(shaper, this._singleEntitySet, resultItemEdmType);
System\Data\Objects\ObjectContext.cs (2)
2752
return new
ObjectResult
<TElement>(shaper, entitySet, TypeUsage.Create(edmTypes[resultSetIndex]), true, nextResultGenerator, onReaderDispose);
3191
return new
ObjectResult
<TElement>(shaper, entitySet, MetadataHelper.GetElementType(columnMap.Type), readerOwned);
21 references to ObjectResult
System.Data.Entity (21)
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (2)
160
internal
ObjectResult
<TResultType> Execute<TResultType>(ObjectContext context, ObjectParameterCollection parameterValues)
220
internal static
ObjectResult
<TResultType> ExecuteCommandTree<TResultType>(ObjectContext context, DbQueryCommandTree query, MergeOption mergeOption)
System\Data\Objects\NextResultGenerator.cs (1)
39
internal
ObjectResult
<TElement> GetNextResult<TElement>(DbDataReader storeReader)
System\Data\Objects\ObjectContext.cs (12)
2242
ObjectResult
<object> results = ObjectQueryExecutionPlan.ExecuteCommandTree<object>(this, tree, mergeOption);
2535
ObjectResult
<object> results = CreateQuery<object>(esql.ToString(), parameters).Execute(MergeOption.AppendOnly);
2557
public
ObjectResult
<TElement> ExecuteFunction<TElement>(string functionName, params ObjectParameter[] parameters)
2573
public
ObjectResult
<TElement> ExecuteFunction<TElement>(string functionName, MergeOption mergeOption, params ObjectParameter[] parameters)
2673
private
ObjectResult
<TElement> CreateFunctionObjectResult<TElement>(EntityCommand entityCommand, ReadOnlyMetadataCollection<EntitySet> entitySets, EdmType[] edmTypes, MergeOption mergeOption)
2702
internal
ObjectResult
<TElement> MaterializedDataRecord<TElement>(EntityCommand entityCommand, DbDataReader storeReader, int resultSetIndex, ReadOnlyMetadataCollection<EntitySet> entitySets, EdmType[] edmTypes, MergeOption mergeOption)
3039
public
ObjectResult
<TElement> ExecuteStoreQuery<TElement>(string commandText, params object[] parameters)
3054
public
ObjectResult
<TEntity> ExecuteStoreQuery<TEntity>(string commandText, string entitySetName, MergeOption mergeOption, params object[] parameters)
3063
private
ObjectResult
<TElement> ExecuteStoreQueryInternal<TElement>(string commandText, string entitySetName, MergeOption mergeOption, params object[] parameters)
3111
public
ObjectResult
<TElement> Translate<TElement>(DbDataReader reader)
3135
public
ObjectResult
<TEntity> Translate<TEntity>(DbDataReader reader, string entitySetName, MergeOption mergeOption)
3152
private
ObjectResult
<TElement> InternalTranslate<TElement>(DbDataReader reader, string entitySetName, MergeOption mergeOption, bool readerOwned)
System\Data\Objects\ObjectQuery_TResultType.cs (3)
47
public new
ObjectResult
<T> Execute(MergeOption mergeOption)
74
ObjectResult
<T> disposableEnumerable = this.GetResults(null);
166
private
ObjectResult
<T> GetResults(MergeOption? forMergeOption)
System\Data\Objects\ObjectResult.cs (2)
74
public
ObjectResult
<TElement> GetNextResult<TElement>()
81
internal abstract
ObjectResult
<TElement> GetNextResultInternal<TElement>();
System\Data\Objects\ObjectResult_TResultType.cs (1)
139
internal override
ObjectResult
<TElement> GetNextResultInternal<TElement>()