src/Shared/EntityFramework/Core/Mapping/Update/Internal/SourceInterpreter.cs
// <summary>
// Finds all markup associated with the given source.
// </summary>
// <param name="source"> Source expression. Must not be null. </param>
// <param name="translator"> Translator containing session information. </param>
// <param name="sourceTable"> Table from which the exception was thrown (must not be null). </param>
// <returns> Markup. </returns>
Finds all markup associated with the given source.
Finds all markup associated with the given source .
internal static ReadOnlyCollection<IEntityStateEntry> GetAllStateEntries(
            PropagatorResult source, UpdateTranslator translator,
            EntitySet sourceTable)
        {
            DebugCheck.NotNull(source);
            DebugCheck.NotNull(translator);
            DebugCheck.NotNull(sourceTable);
            var interpreter = new SourceInterpreter(translator, sourceTable);
            interpreter.RetrieveResultMarkup(source);
            return new ReadOnlyCollection<IEntityStateEntry>(interpreter.m_stateEntries);
        }
internal static ReadOnlyCollection < IEntityStateEntry > GetAllStateEntries ( PropagatorResult source , UpdateTranslator translator , EntitySet sourceTable ) { DebugCheck . NotNull ( source ) ; DebugCheck . NotNull ( translator ) ; DebugCheck . NotNull ( sourceTable ) ; var interpreter = new SourceInterpreter ( translator , sourceTable ) ; interpreter . RetrieveResultMarkup ( source ) ; return new ReadOnlyCollection < IEntityStateEntry > ( interpreter . m_stateEntries ) ; }
Finds all markup associated with the given source.
Finds all markup associated with the given source .
None
source
PropagatorResult
Source expression. Must not be null.
Source expression . Must not be null .
translator
UpdateTranslator
Translator containing session information.
Translator containing session information .
sourceTable
EntitySet
Table from which the exception was thrown (must not be null).
Table from which the exception was thrown ( must not be null ) .