ExtensionMethods.AddEntityType Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
AddEntityType(EdmModel, String, String, IEdmEntityType, Boolean, Boolean, Boolean) |
Crea e aggiunge un tipo di entità al modello. |
AddEntityType(EdmModel, String, String, IEdmEntityType, Boolean, Boolean) |
Crea e aggiunge un tipo di entità al modello. |
AddEntityType(EdmModel, String, String) |
Crea e aggiunge un tipo di entità al modello. |
AddEntityType(EdmModel, String, String, IEdmEntityType) |
Crea e aggiunge un tipo di entità al modello. |
AddEntityType(EdmModel, String, String, IEdmEntityType, Boolean, Boolean, Boolean)
Crea e aggiunge un tipo di entità al modello.
public static Microsoft.OData.Edm.EdmEntityType AddEntityType (this Microsoft.OData.Edm.EdmModel model, string namespaceName, string name, Microsoft.OData.Edm.IEdmEntityType baseType, bool isAbstract, bool isOpen, bool hasStream);
static member AddEntityType : Microsoft.OData.Edm.EdmModel * string * string * Microsoft.OData.Edm.IEdmEntityType * bool * bool * bool -> Microsoft.OData.Edm.EdmEntityType
<Extension()>
Public Function AddEntityType (model As EdmModel, namespaceName As String, name As String, baseType As IEdmEntityType, isAbstract As Boolean, isOpen As Boolean, hasStream As Boolean) As EdmEntityType
Parametri
- model
- EdmModel
The EdmModel.
- namespaceName
- String
Spazio dei nomi cui l'entità appartiene.
- name
- String
Nome dell'entità.
- baseType
- IEdmEntityType
Tipo base di questo tipo di entità.
- isAbstract
- Boolean
Indica un'entità per cui non può essere creata un'istanza.
- isOpen
- Boolean
Indica se il tipo è open.
- hasStream
- Boolean
Indica se il tipo è un tipo di supporto.
Restituisce
Tipo di entità creato.
Si applica a
AddEntityType(EdmModel, String, String, IEdmEntityType, Boolean, Boolean)
Crea e aggiunge un tipo di entità al modello.
public static Microsoft.OData.Edm.EdmEntityType AddEntityType (this Microsoft.OData.Edm.EdmModel model, string namespaceName, string name, Microsoft.OData.Edm.IEdmEntityType baseType, bool isAbstract, bool isOpen);
static member AddEntityType : Microsoft.OData.Edm.EdmModel * string * string * Microsoft.OData.Edm.IEdmEntityType * bool * bool -> Microsoft.OData.Edm.EdmEntityType
<Extension()>
Public Function AddEntityType (model As EdmModel, namespaceName As String, name As String, baseType As IEdmEntityType, isAbstract As Boolean, isOpen As Boolean) As EdmEntityType
Parametri
- model
- EdmModel
The EdmModel.
- namespaceName
- String
Spazio dei nomi cui l'entità appartiene.
- name
- String
Nome dell'entità.
- baseType
- IEdmEntityType
Tipo base di questo tipo di entità.
- isAbstract
- Boolean
Indica un'entità per cui non può essere creata un'istanza.
- isOpen
- Boolean
Indica se il tipo è open.
Restituisce
Tipo di entità creato.
Si applica a
AddEntityType(EdmModel, String, String)
Crea e aggiunge un tipo di entità al modello.
public static Microsoft.OData.Edm.EdmEntityType AddEntityType (this Microsoft.OData.Edm.EdmModel model, string namespaceName, string name);
static member AddEntityType : Microsoft.OData.Edm.EdmModel * string * string -> Microsoft.OData.Edm.EdmEntityType
<Extension()>
Public Function AddEntityType (model As EdmModel, namespaceName As String, name As String) As EdmEntityType
Parametri
- model
- EdmModel
The EdmModel.
- namespaceName
- String
Spazio dei nomi cui l'entità appartiene.
- name
- String
Nome dell'entità.
Restituisce
Tipo di entità creato.
Si applica a
AddEntityType(EdmModel, String, String, IEdmEntityType)
Crea e aggiunge un tipo di entità al modello.
public static Microsoft.OData.Edm.EdmEntityType AddEntityType (this Microsoft.OData.Edm.EdmModel model, string namespaceName, string name, Microsoft.OData.Edm.IEdmEntityType baseType);
static member AddEntityType : Microsoft.OData.Edm.EdmModel * string * string * Microsoft.OData.Edm.IEdmEntityType -> Microsoft.OData.Edm.EdmEntityType
<Extension()>
Public Function AddEntityType (model As EdmModel, namespaceName As String, name As String, baseType As IEdmEntityType) As EdmEntityType
Parametri
- model
- EdmModel
The EdmModel.
- namespaceName
- String
Spazio dei nomi cui l'entità appartiene.
- name
- String
Nome dell'entità.
- baseType
- IEdmEntityType
Tipo base di questo tipo di entità.
Restituisce
Tipo di entità creato.