Share via


StructuralTypeConfiguration<TStructuralType> Class

Definition

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

public abstract class StructuralTypeConfiguration<TStructuralType> where TStructuralType : class
type StructuralTypeConfiguration<'StructuralType (requires 'StructuralType : null)> = class
Public MustInherit Class StructuralTypeConfiguration(Of TStructuralType)

Type Parameters

TStructuralType

The type to be configured.

Inheritance
StructuralTypeConfiguration<TStructuralType>
Derived

Constructors

Name Description
StructuralTypeConfiguration<TStructuralType>()

Methods

Name Description
Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

GetType()

Gets the Type of the current instance.

Ignore<TProperty>(Expression<Func<TStructuralType,TProperty>>)

Excludes a property from the model so that it will not be mapped to the database.

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

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

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

Configures a DateTime property that is defined on this type.

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

Configures a DateTimeOffset property that is defined on this type.

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

Configures a DbGeography property that is defined on this type.

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

Configures a DbGeography property that is defined on this type.

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

Configures a DbGeometry property that is defined on this type.

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

Configures a DbGeometry property that is defined on this type.

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

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

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

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

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

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

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

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

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

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

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

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

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

Configures a TimeSpan property that is defined on this type.

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

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

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

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

ToString()

Returns a string that represents the current object.

Applies to