After Applying Code first paradigm in my Asp.net mvc3 app. The background DB had been created on the fly from code first When I run the app at the first time . But When I ran it again . I got a fat exception which said you can not create Database , because it exists . So I just don’t know how to tell the EF do not create DB if the DB exists. Thanks.
Share
this may be useful to you
EF Code First Existing database