Ejemplo n.º 1
0
 internal EntryScope(ODataEntry entry, bool skipWriting, bool writingResponse, ODataWriterBehavior writerBehavior) : base(ODataWriterCore.WriterState.Entry, entry, skipWriting)
 {
     if (entry != null)
     {
         this.duplicatePropertyNamesChecker = new Microsoft.Data.OData.DuplicatePropertyNamesChecker(writerBehavior.AllowDuplicatePropertyNames, writingResponse);
     }
 }
Ejemplo n.º 2
0
 internal EntryScope(ODataEntry entry, bool skipWriting, bool writingResponse, ODataWriterBehavior writerBehavior) : base(ODataWriterCore.WriterState.Entry, entry, skipWriting)
 {
     if (entry != null)
     {
         this.duplicatePropertyNamesChecker = new Microsoft.Data.OData.DuplicatePropertyNamesChecker(writerBehavior.AllowDuplicatePropertyNames, writingResponse);
     }
 }