What should I use as MetaData while I'm using Code-First Approach via EntityConnectionStringBuilder
EntityConnectionStringBuilder entityBuilder;
entityBuilder.MetaData = ?? // Metadata = @"res://*/;";
I got this error :
{"The specified metadata path is not valid. A valid path must be either an existing directory, an existing file with extension '.csdl', '.ssdl', or '.msl', or a URI that identifies an embedded resource."}
I didn't make any model on this approach, As I thought it isn't needed.
All I want is to do everything programmatically.
Everything was working fine in Database-First Approach.
Here I made the Connection String and passed it to the Context.
The EF Version is 5.0.
The database is existed.
Should I use any thing else to avoid
MetaDataChecking, such as initializers or ??