EdmFunction.Create Method
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.
The factory method for constructing the EdmFunction object.
public static System.Data.Entity.Core.Metadata.Edm.EdmFunction Create (string name, string namespaceName, System.Data.Entity.Core.Metadata.Edm.DataSpace dataSpace, System.Data.Entity.Core.Metadata.Edm.EdmFunctionPayload payload, System.Collections.Generic.IEnumerable<System.Data.Entity.Core.Metadata.Edm.MetadataProperty> metadataProperties);
static member Create : string * string * System.Data.Entity.Core.Metadata.Edm.DataSpace * System.Data.Entity.Core.Metadata.Edm.EdmFunctionPayload * seq<System.Data.Entity.Core.Metadata.Edm.MetadataProperty> -> System.Data.Entity.Core.Metadata.Edm.EdmFunction
Parameters
- name
- String
The name of the function.
- namespaceName
- String
The namespace of the function.
- dataSpace
- DataSpace
The namespace the function belongs to.
- payload
- EdmFunctionPayload
Additional function attributes and properties.
- metadataProperties
- IEnumerable<MetadataProperty>
Metadata properties that will be added to the function. Can be null.
Returns
A new, read-only instance of the EdmFunction type.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework