Last post Jul 30, 2012 09:34 PM by Decker Dong - MSFT
Jul 29, 2012 06:03 AM|Andrew Gubskiy|LINK
I want to create functionality that allow to add metadata (class attributes) for existing compiled assemblies with database classes (assembly that contain edmx file).
i have DAL.dll that include classes for:
And i have xml file that describe metadata for classes that
Next i want to put this file in assembly's directory (for example DAL.dll and DAL.dll.xml) and when Dynamic Data will load assembly - meta data from xml file will too load.
Jul 30, 2012 09:34 PM|Decker Dong - MSFT|LINK
As far as I see, just like you cannot extend a class with metadata to the dll files from net framework——If you compiled the class into dll and you want to extend the method by adding the meta data, I'm afraid you cannot do that.
My suggestion is that：
1）Just refer the cs class file and make a metadata file on that class.
2）Please use the extended method to add an extend method for the class.