Can't have the same table names in different entity framework models?

前端 未结 5 1570
心在旅途
心在旅途 2021-01-07 23:13

My application uses two different SQL 2008 databases. The databases have a few tables with the same name, ie. Users. I would like to use EF4 for both these data

5条回答
  •  抹茶落季
    2021-01-07 23:51

    The error means, what he says: You can't use the default convention based mapping in your scenario. Use custom database mapping instead. Scott Guthrie has a detailed blog item about this.

提交回复
热议问题