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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework