internal static IDictionary <string, EntityProperty> GetEntityPropertiesFromDocument(Document document, IList <string> selectColumns) { string serializedDocument = SerializeObject(document); EdmConverter.GetPropertiesFromDocument(selectColumns, serializedDocument, out IDictionary <string, EntityProperty> entityProperties, out IDictionary <string, EntityProperty> _); return(entityProperties); }
public static void GetPropertiesFromResourceStream(Stream stream, IList <string> selectColumns, out IDictionary <string, EntityProperty> entityProperties, out IDictionary <string, EntityProperty> documentDBProperties) { using (StreamReader streamReader = new StreamReader(stream)) { EdmConverter.GetPropertiesFromDocument(selectColumns, streamReader.ReadToEnd(), out entityProperties, out documentDBProperties); } }