PrimitivePropertyConfiguration Class
Used to configure a primitive property of an entity type or complex type. This configuration functionality is exposed by the model builder Fluent API, see ODataModelBuilder.
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
System.Web.Http.OData.Builder::PropertyConfiguration
System.Web.Http.OData.Builder::StructuralPropertyConfiguration
System.Web.Http.OData.Builder::PrimitivePropertyConfiguration
| Name | Description | |
|---|---|---|
![]() | PrimitivePropertyConfiguration(PropertyInfo^, StructuralTypeConfiguration^) | Initializes a new instance of the PrimitivePropertyConfiguration class. |
| Name | Description | |
|---|---|---|
![]() | AddedExplicitly | Gets or sets a value that is true if the property was added by the user; false if it was inferred through conventions. (Inherited from PropertyConfiguration.) |
![]() | ConcurrencyToken | Gets or sets a value indicating whether this property is a concurrency token or not. (Inherited from StructuralPropertyConfiguration.) |
![]() | DeclaringType | Gets the declaring type. (Inherited from PropertyConfiguration.) |
![]() | Kind | Gets the type of this property. (Overrides PropertyConfiguration::Kind.) |
![]() | Name | Gets the name of the property. (Inherited from PropertyConfiguration.) |
![]() | OptionalProperty | Gets or sets a value indicating whether this property is optional or not. (Inherited from StructuralPropertyConfiguration.) |
![]() | PropertyInfo | Gets the mapping CLR PropertyInfo. (Inherited from PropertyConfiguration.) |
![]() | RelatedClrType | Gets the backing CLR type of this property type. (Overrides PropertyConfiguration::RelatedClrType.) |
![]() | StoreGeneratedPattern | Gets or sets a value indicating which StoreGeneratedPattern is this property. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | HasStoreGeneratedPattern(DatabaseGeneratedOption) | Configures the property to have the given databaseGeneratedOption. |
![]() | IsConcurrencyToken() | Configures the property to be ConcurrencyCheck (OData: ETag). |
![]() | IsOptional() | Configures the property to be optional. |
![]() | IsRequired() | Configures the property to be required. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


