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.

Namespace:   System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)


public ref class PrimitivePropertyConfiguration : StructuralPropertyConfiguration

NameDescription
System_CAPS_pubmethodPrimitivePropertyConfiguration(PropertyInfo^, StructuralTypeConfiguration^)

Initializes a new instance of the PrimitivePropertyConfiguration class.

NameDescription
System_CAPS_pubpropertyAddedExplicitly

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.)

System_CAPS_pubpropertyConcurrencyToken

Gets or sets a value indicating whether this property is a concurrency token or not. (Inherited from StructuralPropertyConfiguration.)

System_CAPS_pubpropertyDeclaringType

Gets the declaring type. (Inherited from PropertyConfiguration.)

System_CAPS_pubpropertyKind

Gets the type of this property. (Overrides PropertyConfiguration::Kind.)

System_CAPS_pubpropertyName

Gets the name of the property. (Inherited from PropertyConfiguration.)

System_CAPS_pubpropertyOptionalProperty

Gets or sets a value indicating whether this property is optional or not. (Inherited from StructuralPropertyConfiguration.)

System_CAPS_pubpropertyPropertyInfo

Gets the mapping CLR PropertyInfo. (Inherited from PropertyConfiguration.)

System_CAPS_pubpropertyRelatedClrType

Gets the backing CLR type of this property type. (Overrides PropertyConfiguration::RelatedClrType.)

System_CAPS_pubpropertyStoreGeneratedPattern

Gets or sets a value indicating which StoreGeneratedPattern is this property.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodHasStoreGeneratedPattern(DatabaseGeneratedOption)

Configures the property to have the given databaseGeneratedOption.

System_CAPS_pubmethodIsConcurrencyToken()

Configures the property to be ConcurrencyCheck (OData: ETag).

System_CAPS_pubmethodIsOptional()

Configures the property to be optional.

System_CAPS_pubmethodIsRequired()

Configures the property to be required.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: