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