This project is read-only.
1

Closed

ExternalReference attribute not supported by FluentMetadata?

description

Hi,would it be possible to add support for the ExternalReference attribute to FluentMetadata's MemberProjectionCollectionMetadata class? I can see that the Include attribute is supported via .Projection(...).Include() so I guess it shouldn't be too hard to do the same thing for ExternalReference.Would be really great if this could be added.Thanks in advance,Ben
Closed Dec 21, 2012 at 8:21 PM by MdeJ
Feature added in commit #70845

comments

MdeJ wrote Dec 21, 2012 at 8:11 PM

Hi Good suggestions.I've added it to the library and pushed a new Nuget package.

You can use it like so:this.Projection(x => x.NavigationProperty).Association(... association info ... ).IsExternalReference()

MdeJ wrote Dec 21, 2012 at 8:19 PM

You can also use it directly on a Projection, like so:this.Projection(x=>x.NavigationProperty).ExternalReference();