StructuralTypeConfiguration<TStructuralType>.HasInstanceAnnotations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an InstanceAnnotation container property.
public void HasInstanceAnnotations (System.Linq.Expressions.Expression<Func<TStructuralType,Microsoft.AspNet.OData.Builder.IODataInstanceAnnotationContainer>> propertyExpression);
member this.HasInstanceAnnotations : System.Linq.Expressions.Expression<Func<'StructuralType, Microsoft.AspNet.OData.Builder.IODataInstanceAnnotationContainer>> -> unit
Public Sub HasInstanceAnnotations (propertyExpression As Expression(Of Func(Of TStructuralType, IODataInstanceAnnotationContainer)))
Parameters
- propertyExpression
- Expression<Func<TStructuralType,IODataInstanceAnnotationContainer>>
A lambda expression representing the instance annotation container property for the relationship.
For example, in C# t => t.MyProperty
and in Visual Basic .NET Function(t) t.MyProperty
.