DefaultExpressionVisitor.VisitType 方法
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
实现类型的访问者模式。
命名空间: System.Data.Entity.Core.Common.CommandTrees
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
Protected Overridable Function VisitType ( _
type As EdmType _
) As EdmType
用法
Dim type As EdmType
Dim returnValue As EdmType
returnValue = Me.VisitType(type)
protected virtual EdmType VisitType(
EdmType type
)
protected:
virtual EdmType^ VisitType(
EdmType^ type
)
abstract VisitType :
type:EdmType -> EdmType
override VisitType :
type:EdmType -> EdmType
protected function VisitType(
type : EdmType
) : EdmType
参数
- type
类型:System.Data.Entity.Core.Metadata.Edm.EdmType
类型。
返回值
类型:System.Data.Entity.Core.Metadata.Edm.EdmType
实现的访问者模式。