EdmSchemaAttribute Constructor

 

Initializes a new instance of the EdmSchemaAttribute class.

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

NameDescription
System_CAPS_pubmethodEdmSchemaAttribute()

Initializes a new instance of the EdmSchemaAttribute class.

System_CAPS_pubmethodEdmSchemaAttribute(String)

Initializes a new instance of the EdmSchemaAttribute class with a unique value for each model referenced by the assembly.


EdmSchemaAttribute Constructor ()

Initializes a new instance of the EdmSchemaAttribute class.

public EdmSchemaAttribute()

EdmSchemaAttribute Constructor (String)

Initializes a new instance of the EdmSchemaAttribute class with a unique value for each model referenced by the assembly.

public EdmSchemaAttribute(
	string assemblyGuid
)

Parameters

assemblyGuid
Type: System.String

A string that is a unique GUID value for the model in the assembly.

Setting this parameter to a unique value for each model file in a Visual Basic assembly will prevent the following error: "'System.Data.Entity.Core.Objects.DataClasses.EdmSchemaAttribute' cannot be specified more than once in this project, even with identical parameter values."