1 2 Previous Next 15 Replies Latest reply on Oct 26, 2012 1:06 AM by 932936 Go to original post
      • 15. Re: EF beta - views with no primary key

        My solution (which seems to work) is to set the primary key in Oracle (per Anthony's workaround) and then go into my Entity Model and remove the existing key, select all columns, then set as primary key. This seems to satisfy the not null requirement (albiet it is a bit of a hassle, and I hope M$ figures out it's just plain dumb to force all views in EF to have PKs (i.e. readonly views should not ever have this requirement), but it works).
        1 2 Previous Next