Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

StructuralTypeConfiguration<TStructuralType> Class

Entity Framework 5.0

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

Namespace:  System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)
public abstract class StructuralTypeConfiguration<TStructuralType>
where TStructuralType : class

Type Parameters

TStructuralType

The type to be configured.

The StructuralTypeConfiguration<TStructuralType> type exposes the following members.

  NameDescription
Protected methodStructuralTypeConfiguration<TStructuralType>Initializes a new instance of the StructuralTypeConfiguration<TStructuralType> class.
Top
  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. This method is hidden from IntelliSense. (Overrides Object.Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. This method is hidden from IntelliSense. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the type of the current instance. This method is hidden from IntelliSense.
Public methodIgnore<TProperty> Excludes a property from the model so that it will not be mapped to the database.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodProperty(Expression<Func<TStructuralType, Byte[]>>) Configures a byte property that is defined on this type.
Public methodProperty(Expression<Func<TStructuralType, DbGeography>>) Configures a DbGeography property that is defined on this type.
Public methodProperty(Expression<Func<TStructuralType, DbGeometry>>) Configures a DbGeometry property that is defined on this type.
Public methodProperty(Expression<Func<TStructuralType, DateTime>>) Configures a DateTime property that is defined on this type.
Public methodProperty(Expression<Func<TStructuralType, DateTimeOffset>>) Configures a DateTimeOffset property that is defined on this type.
Public methodProperty(Expression<Func<TStructuralType, Decimal>>) Configures a decimal property that is defined on this type.
Public methodProperty(Expression<Func<TStructuralType, Nullable<DateTime>>>) Configures a Nullable(DateTime) property that is defined on this type.
Public methodProperty(Expression<Func<TStructuralType, Nullable<DateTimeOffset>>>) Configures a Nullable(DateTimeOffset) property that is defined on this type.
Public methodProperty(Expression<Func<TStructuralType, Nullable<Decimal>>>) Configures a Nullable(Decimal) property that is defined on this type.
Public methodProperty(Expression<Func<TStructuralType, Nullable<TimeSpan>>>) Configures a Nullable(TimeSpan) property that is defined on this type.
Public methodProperty(Expression<Func<TStructuralType, String>>) Configures a string property that is defined on this type.
Public methodProperty(Expression<Func<TStructuralType, TimeSpan>>) Configures a TimeSpan property that is defined on this type.
Public methodProperty<T>(Expression<Func<TStructuralType, Nullable<T>>>) Configures a Nullable(struct) property that is defined on this type.
Public methodProperty<T>(Expression<Func<TStructuralType, T>>) Configures a struct property that is defined on this type.
Public methodToStringReturns a string that represents the current object. This method is hidden from IntelliSense. (Overrides Object.ToString().)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.