コード例 #1
0
        private static void AddEntryProperty(IODataJsonReaderEntryState entryState, string propertyName, object propertyValue)
        {
            ODataProperty property = new ODataProperty {
                Name  = propertyName,
                Value = propertyValue
            };

            entryState.DuplicatePropertyNamesChecker.CheckForDuplicatePropertyNames(property);
            ReaderUtils.AddPropertyToPropertiesList(entryState.Entry.Properties, property);
        }