there is a schema tag in edmx XML file defined for each entity being used in edmx ...
<EntitySet Name="AUDITLOG" EntityType="My_EFModel.Store.AUDITLOG" store:Type="Tables" Schema="MYPRODUCTUSER" />
is there any way i can set this Schema Attribute through my application's variable ... Are my application's variable public to this edmx XML file.? ...
i would like to change this as follows so that schema attribute becomes configurable:
<EntitySet Name="AUDITLOG" EntityType="My_EFModel.Store.AUDITLOG" store:Type="Tables" Schema="@MyProject'sApplication'sVariable" />
The problem is that we work on a product database, and another team takes our Database (say A) and creates their seperate database (Say B), The two databases are exact copy of each other that is why i want Schema attribute to be configurable ...