StructuralTypeConfiguration<TStructuralType> Class

 

Allows configuration to be performed for a type in a model.

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

System.Object
  System.Data.Entity.ModelConfiguration.Configuration.StructuralTypeConfiguration<TStructuralType>
    System.Data.Entity.ModelConfiguration.ComplexTypeConfiguration<TComplexType>
    System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<TEntityType>

public abstract class StructuralTypeConfiguration<TStructuralType>
where TStructuralType : class

Type Parameters

TStructuralType

The type to be configured.

NameDescription
System_CAPS_protmethodStructuralTypeConfiguration<TStructuralType>()

Initializes a new instances of the StructuralTypeConfiguration<TStructuralType> class.

NameDescription
System_CAPS_pubmethodEquals(Object)

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

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, Byte[]>>)

Configures a T:System.byte[] property that is defined on this type.

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, DateTime>>)

Configures a DateTime property that is defined on this type.

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, DateTimeOffset>>)

Configures a DateTimeOffset property that is defined on this type.

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, DbGeography>>)

Configures a T:DbGeography property that is defined on this type.

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, DbGeometry>>)

Configures a T:DbGeometry property that is defined on this type.

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, Decimal>>)

Configures a T:System.decimal property that is defined on this type.

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, Nullable<DateTime>>>)

Configures a T:System.DateTime? property that is defined on this type.

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, Nullable<DateTimeOffset>>>)

Configures a T:System.DateTimeOffset? property that is defined on this type.

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, Nullable<Decimal>>>)

Configures a T:System.decimal? property that is defined on this type.

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, Nullable<TimeSpan>>>)

Configures a T:System.TimeSpan? property that is defined on this type.

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, String>>)

Configures a T:System.string property that is defined on this type.

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, TimeSpan>>)

Configures a TimeSpan property that is defined on this type.

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, T>>)

Configures a T:System.struct property that is defined on this type.

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, Nullable<T>>>)

Configures a T:System.struct? property that is defined on this type.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Overrides Object.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.