PropertyGeneratedEventArgs Constructor (MetadataItem, String, CodeTypeReference)

 

Initializes a new instance of the PropertyGeneratedEventArgs class with the specified property source, backing field name, and return type.

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

public PropertyGeneratedEventArgs(
	MetadataItem propertySource,
	string backingFieldName,
	CodeTypeReference returnType
)

Parameters

propertySource
Type: System.Data.Metadata.Edm.MetadataItem

The MetadataItem object that is the source of the property.

backingFieldName
Type: System.String

The name of the field that backs the property.

returnType
Type: System.CodeDom.CodeTypeReference

The base type of the property.

.NET Framework
Available since 3.5
Return to top
Show: