Метод | Описание | |
---|---|---|
CreateAndAddFunction ( this item, string name, IList |
Creates the and add function.
|
|
GetDefaultNamespace ( this layerModel ) : string |
Obtain the namespace name from existing model defined types. Only one namespace is allowed. Throws if there are multiple namespaces or if there aren't any types defined in the model. |
|
GetDefaultSchema ( this layerModel ) : string |
Obtains the default schema from existing entity sets in the model. Throws if more than one schema is used or if the model contains no entity sets. |
|
GetStorePrimitiveType ( this model, PrimitiveTypeKind typeKind ) : System.Data.Entity.Core.Metadata.Edm.EdmType |
Translate a conceptual primitive type to an adequate store specific primitive type according to the provider configuration of the model.
|
public static CreateAndAddFunction ( this item, string name, IList |
||
item | this | The item. |
name | string | The name. |
parameters | IList |
The parameters. |
returnValues | IList |
The return values. |
body | string | The body. |
Результат | EdmFunction |
public static GetDefaultNamespace ( this layerModel ) : string | ||
layerModel | this | An EdmModel instance representing conceptual or store model. |
Результат | string |
public static GetDefaultSchema ( this layerModel ) : string | ||
layerModel | this | An instance of EdmModel representing either the conceptual or the store model. |
Результат | string |
public static GetStorePrimitiveType ( this model, PrimitiveTypeKind typeKind ) : System.Data.Entity.Core.Metadata.Edm.EdmType | ||
model | this | A DbModel instance with provider information |
typeKind | PrimitiveTypeKind | A PrimitiveTypeKind instance representing the conceptual primitive type to be translated |
Результат | System.Data.Entity.Core.Metadata.Edm.EdmType |