EdmSchemaAttribute Constructor
Initializes a new instance of the EdmSchemaAttribute class.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | EdmSchemaAttribute() | Initializes a new instance of the EdmSchemaAttribute class. |
![]() | EdmSchemaAttribute(String) | Initializes a new instance of the EdmSchemaAttribute class with a unique value for each model referenced by the assembly. |
EdmSchemaAttribute Constructor (String)
Initializes a new instance of the EdmSchemaAttribute class with a unique value for each model referenced by the assembly.
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."