DbModelBuilder.Properties Method

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

Begins configuration of a lightweight convention that applies to all properties in the model.

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

Syntax

'Declaration
Public Function Properties As PropertyConventionConfiguration
'Usage
Dim instance As DbModelBuilder 
Dim returnValue As PropertyConventionConfiguration 

returnValue = instance.Properties()
public PropertyConventionConfiguration Properties()
public:
PropertyConventionConfiguration^ Properties()
member Properties : unit -> PropertyConventionConfiguration
public function Properties() : PropertyConventionConfiguration

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.PropertyConventionConfiguration
A configuration object for the convention.

See Also

Reference

DbModelBuilder Class

Properties Overload

System.Data.Entity Namespace