BinaryPropertyConfiguration Class

 

Used to configure a T:System.byte[] property of an entity type or complex type. This configuration functionality is available via the Code First Fluent API, see DbModelBuilder.

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)


public class BinaryPropertyConfiguration : LengthPropertyConfiguration

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether this instance is equal to the specified object.(Inherited from PrimitivePropertyConfiguration.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for the current instance.(Inherited from PrimitivePropertyConfiguration.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from PrimitivePropertyConfiguration.)

System_CAPS_pubmethodHasColumnAnnotation(String, Object)

Sets an annotation in the model for the database column used to store the property. The annotation value can later be used when processing the column such as when creating migrations.

System_CAPS_pubmethodHasColumnName(String)

Configures the name of the database column used to store the property.

System_CAPS_pubmethodHasColumnOrder(Nullable<Int32>)

Configures the order of the database column used to store the property. This method is also used to specify key ordering when an entity type has a composite key.

System_CAPS_pubmethodHasColumnType(String)

Configures the data type of the database column used to store the property.

System_CAPS_pubmethodHasDatabaseGeneratedOption(Nullable<DatabaseGeneratedOption>)

Configures how values for the property are generated by the database.

System_CAPS_pubmethodHasMaxLength(Nullable<Int32>)

Configures the property to have the specified maximum length.

System_CAPS_pubmethodHasParameterName(String)

Configures the name of the parameter used in stored procedures for this property.(Inherited from PrimitivePropertyConfiguration.)

System_CAPS_pubmethodIsConcurrencyToken()

Configures the property to be used as an optimistic concurrency token.

System_CAPS_pubmethodIsConcurrencyToken(Nullable<Boolean>)

Configures whether or not the property is to be used as an optimistic concurrency token.

System_CAPS_pubmethodIsFixedLength()

Configures the property to be fixed length. Use HasMaxLength to set the length that the property is fixed to.

System_CAPS_pubmethodIsMaxLength()

Configures the property to allow the maximum length supported by the database provider.

System_CAPS_pubmethodIsOptional()

Configures the property to be optional. The database column used to store this property will be nullable. T:System.byte[] properties are optional by default.

System_CAPS_pubmethodIsRequired()

Configures the property to be required. The database column used to store this property will be non-nullable.

System_CAPS_pubmethodIsRowVersion()

Configures the property to be a row version in the database. The actual data type will vary depending on the database provider being used. Setting the property to be a row version will automatically configure it to be an optimistic concurrency token.

System_CAPS_pubmethodIsVariableLength()

Configures the property to be variable length. T:System.byte[] properties are variable length by default.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the string representation of this instance.(Inherited from PrimitivePropertyConfiguration.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.