StructuralTypeConfiguration<TStructuralType> クラス
この記事の内容
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージ として入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
モデル内の特定の型に対して構成を実行するために使用します。
継承階層
System.Object
System.Data.Entity.ModelConfiguration.Configuration.StructuralTypeConfiguration<TStructuralType>
System.Data.Entity.ModelConfiguration.ComplexTypeConfiguration<TComplexType>
System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<TEntityType>
名前空間: System.Data.Entity.ModelConfiguration.Configuration
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
Public MustInherit Class StructuralTypeConfiguration(Of TStructuralType As Class)
'使用
Dim instance As StructuralTypeConfiguration(Of TStructuralType)
public abstract class StructuralTypeConfiguration<TStructuralType>
where TStructuralType : class
generic<typename TStructuralType>
where TStructuralType : ref class
public ref class StructuralTypeConfiguration abstract
[<AbstractClassAttribute>]
type StructuralTypeConfiguration<'TStructuralType when 'TStructuralType : not struct> = class end
JScript does not support generic types and methods.
型パラメーター
StructuralTypeConfiguration<TStructuralType> 型で公開されるメンバーは以下のとおりです。
コンストラクター
上揃え
メソッド
Equals
指定したオブジェクトが、現在のオブジェクトと等しいかどうかを判断します。 (Object.Equals(Object) をオーバーライドします。)
Finalize
(Object から継承されます。)
GetHashCode
特定の型のハッシュ関数として機能します。 (Object.GetHashCode() をオーバーライドします。)
GetType
現在のインスタンスの Type を取得します。
MemberwiseClone
(Object から継承されます。)
Property(Expression<Func<TStructuralType, array<Byte[]>>)
この型に対して定義される byte プロパティを構成します。
Property(Expression<Func<TStructuralType, DateTime>>)
この型に対して定義される DateTime プロパティを構成します。
Property(Expression<Func<TStructuralType, DateTimeOffset>>)
この型に対して定義される DateTimeOffset プロパティを構成します。
Property(Expression<Func<TStructuralType, Decimal>>)
この型に対して定義される decimal プロパティを構成します。
Property(Expression<Func<TStructuralType, Nullable<DateTime>>>)
この型に対して定義される [T:System.DateTime?] プロパティを構成します。
Property(Expression<Func<TStructuralType, Nullable<DateTimeOffset>>>)
この型に対して定義される [T:System.DateTimeOffset?] プロパティを構成します。
Property(Expression<Func<TStructuralType, Nullable<Decimal>>>)
この型に対して定義される [T:System.decimal?] プロパティを構成します。
Property(Expression<Func<TStructuralType, Nullable<TimeSpan>>>)
この型に対して定義される [T:System.TimeSpan?] プロパティを構成します。
Property(Expression<Func<TStructuralType, String>>)
この型に対して定義される string プロパティを構成します。
Property(Expression<Func<TStructuralType, TimeSpan>>)
この型に対して定義される TimeSpan プロパティを構成します。
Property(Expression<Func<TStructuralType, DbGeography>>)
この型に対して定義される DbGeography プロパティを構成します。
Property(Expression<Func<TStructuralType, DbGeometry>>)
この型に対して定義される DbGeometry プロパティを構成します。
Property<T>(Expression<Func<TStructuralType, Nullable<T>>>)
この型に対して定義される [T:System.struct?] プロパティを構成します。
Property<T>(Expression<Func<TStructuralType, T>>)
この型に対して定義される struct プロパティを構成します。
ToString
現在のオブジェクトを表す文字列を返します。 (Object.ToString() をオーバーライドします。)
上揃え
スレッド セーフ
この型のすべてのパブリック static (Visual Basic では Shared) メンバーは、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
参照
参照
System.Data.Entity.ModelConfiguration.Configuration 名前空間