User283571144 posted
Hi callykalpana,
callykalpana
What does the metadata mean in the connection string and where can I find the ManrolandModel.csdl., are those files ? I tried searching and I cant search them.
As far as I know, the meta data is normally used in EF database first application.
From
MSDN article:
Adding the validation attributes directly to the model class works when you do not expect the database to change; however, if your database changes and you need to regenerate the model class, you will lose all of the attributes
you had applied to the model class. This approach can be very inefficient and prone to losing important validation rules.
To avoid this problem, you can add a metadata class that contains the attributes. When you associate the model class to the metadata class, those attributes are applied to the model. In this approach, the model class can be regenerated
without losing all of the attributes that have been applied to the metadata class.
Normally, this class is created in the data model folder and will be built in your current web application's dll file.
Best Regards,
Brando