PropertyGeneratedEventArgs Constructors

Definition

Initializes a new instance of the PropertyGeneratedEventArgs class.

Overloads

PropertyGeneratedEventArgs()

Initializes a new instance of the PropertyGeneratedEventArgs class.

PropertyGeneratedEventArgs(MetadataItem, String, CodeTypeReference)

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

PropertyGeneratedEventArgs()

Initializes a new instance of the PropertyGeneratedEventArgs class.

C#
public PropertyGeneratedEventArgs();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

PropertyGeneratedEventArgs(MetadataItem, String, CodeTypeReference)

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

C#
public PropertyGeneratedEventArgs(System.Data.Metadata.Edm.MetadataItem propertySource, string backingFieldName, System.CodeDom.CodeTypeReference returnType);

Parameters

propertySource
MetadataItem

The MetadataItem object that is the source of the property.

backingFieldName
String

The name of the field that backs the property.

returnType
CodeTypeReference

The base type of the property.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1