Share via


StructuralTypeConfiguration<TStructuralType>.Property Method

Adds a property to the EDM type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Property(Expression<Func<TStructuralType, array<Byte[]>>) Adds a binary property to the EDM type.
Public method Property(Expression<Func<TStructuralType, Stream>>) Adds a stream property to the EDM type.
Public method Property<T>(Expression<Func<TStructuralType, Nullable<T>>>) Adds an optional primitive property to the EDM type.
Public method Property(Expression<Func<TStructuralType, String>>) Adds a string property to the EDM type.
Public method Property<T>(Expression<Func<TStructuralType, T>>) Adds a required primitive property to the EDM type.

Top

See Also

Reference

StructuralTypeConfiguration<TStructuralType> Class

System.Web.Http.OData.Builder Namespace