EdmSchemaAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| 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()
Initializes a new instance of the EdmSchemaAttribute class.
public EdmSchemaAttribute();
Public Sub New ()
Applies to
EdmSchemaAttribute(String)
Initializes a new instance of the EdmSchemaAttribute class with a unique value for each model referenced by the assembly.
public EdmSchemaAttribute(string assemblyGuid);
new System.Data.Entity.Core.Objects.DataClasses.EdmSchemaAttribute : string -> System.Data.Entity.Core.Objects.DataClasses.EdmSchemaAttribute
Public Sub New (assemblyGuid As String)
Parameters
- assemblyGuid
- String
A string that is a unique GUID value for the model in the assembly.
Remarks
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."