语言

SqlPropertyLink 类

定义

封装使用的property_link的类指示联接

[System.Runtime.InteropServices.ComVisible(false)]
public class SqlPropertyLink : Microsoft.SqlServer.Management.Sdk.Sfc.ConditionedSql
[<System.Runtime.InteropServices.ComVisible(false)>]
type SqlPropertyLink = class
    inherit ConditionedSql
Public Class SqlPropertyLink
Inherits ConditionedSql
继承
SqlPropertyLink
属性

构造函数

名称 说明
SqlPropertyLink(XmlReadProperty)

通过读取属性标记(属性表)进行初始化

SqlPropertyLink(XmlReadPropertyLink)

通过读取property_link标记从 xml 初始化读取器

SqlPropertyLink(XmlReadSettings)

通过读取设置标记(属性main_table)进行初始化

属性

名称 说明
AcceptsMultipleHits

可以多次添加

(继承自 ConditionedSql)
Fields

获取触发字段的列表

(继承自 ConditionedSql)
IsUsed

此条件 sql 是否已使用? (重要,因为它只能使用一次)

(继承自 ConditionedSql)
LinkFields

获取需要其值的字段列表

(继承自 ConditionedSql)
LinkMultiple

获取链接倍数

(继承自 ConditionedSql)
Table

get set the joined table name

Used

至少添加一次

(继承自 ConditionedSql)

方法

名称 说明
Add(ConditionedSqlList, XmlReadProperty)

从属性标记添加

Add(ConditionedSqlList, XmlReadSettings)

从设置标记中添加

AddAll(ConditionedSqlList, XmlReadPropertyLink)

添加所有property_link标记

AddHit(String, SqlObjectBase, StatementBuilder)

添加此字段的命中更新 StatementBuilder

AddLinkMultiple(XmlReadMultipleLink)

初始化链接多个

(继承自 ConditionedSql)
ClearHit()

将此 sql 标记为未使用

(继承自 ConditionedSql)
GetFilter(SqlObjectBase)

获取联接的筛选器

GetTableNameWithAlias(SqlObjectBase)

获取具有 tsql 格式的别名的表名称

IsDefault()

无论请求哪些字段,都必须始终添加此 sql

(继承自 ConditionedSql)
IsHit(String)

如果字段导致添加 sql,则返回 true

(继承自 ConditionedSql)
MarkHit()

将此 sql 标记为已用

(继承自 ConditionedSql)
SetFields(StringCollection)

设置触发字段

(继承自 ConditionedSql)
TestHit(String)

测试该字段是否会使要添加的 tsql (它看起来是否已使用)

(继承自 ConditionedSql)

适用于