Given an instance of EdmType, how do I get the database schema of the corresponding table?
I could find a property for the table name (of course), but nothing for the schema.
I looked at the properties and meta data. Nothing.
Am I missing something?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
EdmTypedoesn’t contain such information. You need instance ofEntitySetfromSystem.Data.Metadata.Edmnamespace and search itsMetadataPropertiescollection forMetadataItemwithName == "Schema". TheValueproperty of this item will contain database schema.