StringColumnConfiguration Class

 

Configures a database column used to store a string values. 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 StringColumnConfiguration : LengthColumnConfiguration

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Overrides LengthColumnConfiguration.Equals(Object).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for a particular type.(Overrides LengthColumnConfiguration.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the type of the current instance.

System_CAPS_pubmethodHasColumnOrder(Nullable<Int32>)

Configures the order of the database column.

System_CAPS_pubmethodHasColumnType(String)

Configures the data type of the database column.

System_CAPS_pubmethodHasMaxLength(Nullable<Int32>)

Configures the property to have the specified maximum length.

System_CAPS_pubmethodIsFixedLength()

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

System_CAPS_pubmethodIsMaxLength()

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

System_CAPS_pubmethodIsOptional()

Configures the column to be optional.

System_CAPS_pubmethodIsRequired()

Configures the column to be required.

System_CAPS_pubmethodIsUnicode()

Configures the column to support Unicode string content.

System_CAPS_pubmethodIsUnicode(Nullable<Boolean>)

Configures whether or not the column supports Unicode string content.

System_CAPS_pubmethodIsVariableLength()

Configures the column to be variable length. Columns are variable length by default.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Overrides LengthColumnConfiguration.ToString().)

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