Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbModelBuilder::Properties Method

Entity Framework 6.0
 

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

NameDescription
System_CAPS_pubmethodProperties()

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

System_CAPS_pubmethodProperties<T>()

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

Return to top

DbModelBuilder::Properties Method ()

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

public:
PropertyConventionConfiguration^ Properties()

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration::PropertyConventionConfiguration^

A configuration object for the convention.

Return to top

DbModelBuilder::Properties<T> Method ()

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

public:
generic<typename T>
[SuppressMessageAttribute("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")]
PropertyConventionConfiguration^ Properties()

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration::PropertyConventionConfiguration^

A configuration object for the convention.

Type Parameters

T

The type of the properties that the convention will apply to.

The convention will apply to both nullable and non-nullable properties of the specified type.

Return to top
Show: