DbModelBuilder.Conventions 属性
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
提供对处理约定的此 DbModelBuilder 的设置的访问。
命名空间: System.Data.Entity
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
Public Overridable ReadOnly Property Conventions As ConventionsConfiguration
Get
用法
Dim instance As DbModelBuilder
Dim value As ConventionsConfiguration
value = instance.Conventions
public virtual ConventionsConfiguration Conventions { get; }
public:
virtual property ConventionsConfiguration^ Conventions {
ConventionsConfiguration^ get ();
}
abstract Conventions : ConventionsConfiguration
override Conventions : ConventionsConfiguration
function get Conventions () : ConventionsConfiguration
属性值
类型:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration