c# - Entity Framework - There is already an object named '[table name]' in the database -


i'm getting

there object named '[table name]' in database.

first manually created table in database. created code first entity framework creates database , tables if not existing. , suppose nothing when exist.

initially uses migratedatabasetolatestversion set db using entityframework. using i'm expecting doesn't need check every table long db exist. error when accessing.

on otherhand, try use other database , doens't create table , db. meaning entityframework create db , not manual. after works fine.

is because ef should create table itself? if no, can because of mapping? because of db access? or give me sample of flexible set initialize in ef? :)


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -