C# Class System.Data.Entity.Core.SchemaObjectModel.Function

class representing the Schema element in the schema
Inheritance: System.Data.Entity.Core.SchemaObjectModel.SchemaType
显示文件 Open project: aspnet/EntityFramework6 Class Usage Examples

Protected Properties

Property Type Description
_commandText System.Data.Entity.Core.SchemaObjectModel.FunctionCommandText
_isComposable bool
_isRefType bool
_parameters SchemaElementLookUpTable
_returnTypeList List
_type System.Data.Entity.Core.SchemaObjectModel.SchemaType

Private Properties

Property Type Description
Clone System.Data.Entity.Core.SchemaObjectModel.SchemaElement
GetTypeNameForErrorMessage string
HandleAggregateAttribute void
HandleBuiltInAttribute void
HandleCommandTextFunctionElment void
HandleDbSchemaAttribute void
HandleIsComposableAttribute void
HandleNiladicFunctionAttribute void
HandleParameterTypeSemanticsAttribute void
HandleStoreFunctionNameAttribute void
RemoveTypeModifier void
ResolveSecondLevelNames void
ResolveTopLevelNames void
Validate void

Public Methods

Method Description
Function ( System.Data.Entity.Core.SchemaObjectModel.Schema parentElement ) : System.Collections.Generic

ctor for a schema function

Protected Methods

Method Description
CloneSetFunctionFields ( Function clone ) : void
HandleAttribute ( XmlReader reader ) : bool
HandleElement ( XmlReader reader ) : bool
HandleParameterElement ( XmlReader reader ) : void

Handler for the Parameter Element

HandleReturnTypeAttribute ( XmlReader reader ) : void
HandleReturnTypeElement ( XmlReader reader ) : void

Handler for the ReturnType element

Private Methods

Method Description
Clone ( System.Data.Entity.Core.SchemaObjectModel.SchemaElement parentElement ) : System.Data.Entity.Core.SchemaObjectModel.SchemaElement
GetTypeNameForErrorMessage ( System.Data.Entity.Core.SchemaObjectModel.SchemaType type, CollectionKind colKind, bool isRef ) : string
HandleAggregateAttribute ( XmlReader reader ) : void

Handler for the Version attribute

HandleBuiltInAttribute ( XmlReader reader ) : void

Handler for the Namespace attribute

HandleCommandTextFunctionElment ( XmlReader reader ) : void
HandleDbSchemaAttribute ( XmlReader reader ) : void

The method that is called when a DbSchema attribute is encountered.

HandleIsComposableAttribute ( XmlReader reader ) : void

Handler for the IsComposableAttribute attribute

HandleNiladicFunctionAttribute ( XmlReader reader ) : void

Handler for the NiladicFunctionAttribute attribute

HandleParameterTypeSemanticsAttribute ( XmlReader reader ) : void

Handles ParameterTypeSemantics attribute

HandleStoreFunctionNameAttribute ( XmlReader reader ) : void

Handler for the Alias attribute

RemoveTypeModifier ( string &type, TypeModifier &typeModifier, bool &isRefType ) : void
ResolveSecondLevelNames ( ) : void
ResolveTopLevelNames ( ) : void
Validate ( ) : void

Method Details

CloneSetFunctionFields() protected method

protected CloneSetFunctionFields ( Function clone ) : void
clone Function
return void

Function() public method

ctor for a schema function
public Function ( System.Data.Entity.Core.SchemaObjectModel.Schema parentElement ) : System.Collections.Generic
parentElement System.Data.Entity.Core.SchemaObjectModel.Schema
return System.Collections.Generic

HandleAttribute() protected method

protected HandleAttribute ( XmlReader reader ) : bool
reader System.Xml.XmlReader
return bool

HandleElement() protected method

protected HandleElement ( XmlReader reader ) : bool
reader System.Xml.XmlReader
return bool

HandleParameterElement() protected method

Handler for the Parameter Element
protected HandleParameterElement ( XmlReader reader ) : void
reader System.Xml.XmlReader xml reader currently positioned at Parameter Element
return void

HandleReturnTypeAttribute() protected method

protected HandleReturnTypeAttribute ( XmlReader reader ) : void
reader System.Xml.XmlReader
return void

HandleReturnTypeElement() protected method

Handler for the ReturnType element
protected HandleReturnTypeElement ( XmlReader reader ) : void
reader System.Xml.XmlReader xml reader currently positioned at ReturnType element
return void

Property Details

_commandText protected_oe property

protected FunctionCommandText,System.Data.Entity.Core.SchemaObjectModel _commandText
return System.Data.Entity.Core.SchemaObjectModel.FunctionCommandText

_isComposable protected_oe property

protected bool _isComposable
return bool

_isRefType protected_oe property

protected bool _isRefType
return bool

_parameters protected_oe property

protected SchemaElementLookUpTable _parameters
return SchemaElementLookUpTable

_returnTypeList protected_oe property

protected List _returnTypeList
return List

_type protected_oe property

protected SchemaType,System.Data.Entity.Core.SchemaObjectModel _type
return System.Data.Entity.Core.SchemaObjectModel.SchemaType