ISqlProcedure 接口

对存储过程建模。

命名空间:  Microsoft.Data.Schema.Sql.SchemaModel
程序集:  Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)

语法

声明
Public Interface ISqlProcedure _
    Inherits IDatabaseProcedure, ISqlSubroutine, IModelNamed, ISqlOwnedObject,  _
    ISqlSecurable, ISqlExtendedPropertyHost, ISqlSpecifiesAnsiNulls, ISqlSpecifiesQuotedIdentifier, ISqlSupportsReplication,  _
    ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity,  _
    IModelAnnotationHolder
public interface ISqlProcedure : IDatabaseProcedure, 
    ISqlSubroutine, IModelNamed, ISqlOwnedObject, ISqlSecurable, ISqlExtendedPropertyHost, 
    ISqlSpecifiesAnsiNulls, ISqlSpecifiesQuotedIdentifier, ISqlSupportsReplication, ISqlModelElement, IScriptSourcedModelElement, 
    IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
public interface class ISqlProcedure : IDatabaseProcedure, 
    ISqlSubroutine, IModelNamed, ISqlOwnedObject, ISqlSecurable, ISqlExtendedPropertyHost, 
    ISqlSpecifiesAnsiNulls, ISqlSpecifiesQuotedIdentifier, ISqlSupportsReplication, ISqlModelElement, IScriptSourcedModelElement, 
    IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
type ISqlProcedure =  
    interface
        interface IDatabaseProcedure
        interface ISqlSubroutine
        interface IModelNamed
        interface ISqlOwnedObject
        interface ISqlSecurable
        interface ISqlExtendedPropertyHost
        interface ISqlSpecifiesAnsiNulls
        interface ISqlSpecifiesQuotedIdentifier
        interface ISqlSupportsReplication
        interface ISqlModelElement
        interface IScriptSourcedModelElement
        interface IModelElement
        interface IModelPropertyContainer
        interface IModelEntity
        interface IModelAnnotationHolder
    end
public interface ISqlProcedure extends IDatabaseProcedure, ISqlSubroutine, IModelNamed, ISqlOwnedObject, ISqlSecurable, ISqlExtendedPropertyHost, ISqlSpecifiesAnsiNulls, ISqlSpecifiesQuotedIdentifier, ISqlSupportsReplication, ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder

ISqlProcedure 类型公开以下成员。

属性

  名称 说明
公共属性 BodyDependencies 获取由过程体引用的元素集合。 (继承自 IDatabaseProcedure。)
公共属性 BodyScript 获取或设置过程的主体。
公共属性 DynamicObjects 获取在过程主体中创建的临时列源的列表。
公共属性 ElementClass 获取元素的元数据类。 (继承自 IModelElement。)
公共属性 ExtendedProperties 获取此对象的扩展属性的列表。 (继承自 ISqlExtendedPropertyHost。)
公共属性 IsAnsiNullsOn 获取或设置一个值,该值指示此对象的 ANSI NULLS 设置是否为 ON。 (继承自 ISqlSpecifiesAnsiNulls。)
公共属性 IsEncrypted 获取或设置一个值,该值指示子例程是否已加密。 (继承自 ISqlSubroutine。)
公共属性 IsForReplication 获取或设置一个对 FOR REPLICATION 选项建模的值。
公共属性 IsQuotedIdentifierOn 获取或设置一个值,该值指示此对象的 QUOTED IDENTIFIER 设置是否为 ON。 (继承自 ISqlSpecifiesQuotedIdentifier。)
公共属性 IsRecompiled 获取或设置一个对 RECOMPILE 选项建模的值。
公共属性 IsReplicated 获取或设置一个值,该值指示对象是否受复制约束。 (继承自 ISqlSupportsReplication。)
公共属性 Model 获取模型引用。 (继承自 IModelEntity。)
公共属性 Name 获取或设置元素的名称。 (继承自 IModelElement。)
公共属性 Owner 获取或设置此对象的所有者。 (继承自 ISqlOwnedObject。)
公共属性 Parameters 获取子例程的参数列表。 (继承自 ISqlSubroutine。)
公共属性 ParentProc 获取或设置编号的存储过程的父过程。
公共属性 Permissions 获取应用到此对象的权限的列表。 (继承自 ISqlSecurable。)
公共属性 PrimarySource 获取有关元素的主要源的信息。 (继承自 IScriptSourcedModelElement。)
公共属性 ResolutionStatus 获取或设置模型元素解析状态的值。 (继承自 IModelElement。)
公共属性 SecondarySources 获取元素的辅助源的列表。 (继承自 IScriptSourcedModelElement。)
公共属性 SourceCodePositions 获取用于定义此元素的源的列表。 (继承自 IModelElement。)
公共属性 ValidationStatus 获取或设置模型元素验证状态的值。 (继承自 IModelElement。)

页首

方法

  名称 说明
公共方法 AddAnnotation 将给定批注添加到此元素。 (继承自 IModelAnnotationHolder。)
公共方法 Delete 从模型中删除此实例。 (继承自 IModelElement。)
公共方法 GetAnnotations() 返回附加到此元素的批注的列表。 (继承自 IModelAnnotationHolder。)
公共方法 GetAnnotations(Type) 返回给定类型的附加批注的列表。 (继承自 IModelAnnotationHolder。)
公共方法 GetAnnotations(ModelIdentifier) 返回具有给定标识符的附加批注的列表。 (继承自 IModelAnnotationHolder。)
公共方法 GetAnnotations(ModelIdentifier, Type) (继承自 IModelAnnotationHolder。)
公共方法 GetAnnotations<TType>() 返回实现给定批注类型且具有指定模型标识符的所有附加模型批注。 (继承自 IModelAnnotationHolder。)
公共方法 GetAnnotations<TType>(ModelIdentifier) (继承自 IModelAnnotationHolder。)
公共方法 GetBodyDependenciesRelationship 获取此 IDatabaseProcedure 与此存储过程体引用的所有 IModelElement 节点之间的 IModelMultiRelationship。 (继承自 IDatabaseProcedure。)
公共方法 GetComposingChildren 返回构成此元素的子级的列表。 (继承自 IModelElement。)
公共方法 GetDynamicObjectsRelationship 返回 this 和关联 ISqlDynamicColumnSource 之间的 IModelMultiRelationship
公共方法 GetExtendedPropertiesRelationship 返回 this 和关联 ISqlExtendedProperty 之间的 IModelReverseMultiRelationship。 (继承自 ISqlExtendedPropertyHost。)
公共方法 GetHierarchicalChildren 返回此元素的层次结构子级的列表。 (继承自 IModelElement。)
公共方法 GetOwnerInfo 返回有关元素所有者的信息。 (继承自 IModelElement。)
公共方法 GetOwnerRelationship 返回 this 和关联 ISqlObjectOwner 之间的 IModelSingleRelationship。 (继承自 ISqlOwnedObject。)
公共方法 GetParametersRelationship 返回 this 和关联 ISqlSubroutineParameter 之间的 IModelMultiRelationship。 (继承自 ISqlSubroutine。)
公共方法 GetParentProcRelationship 返回 this 和关联 ISqlProcedure 之间的 IModelSingleRelationship
公共方法 GetPermissionsRelationship 返回 this 和关联 ISqlPermissionStatement 之间的 IModelReverseMultiRelationship。 (继承自 ISqlSecurable。)
公共方法 GetProperty<TProperty> 获取指定属性。 (继承自 IModelPropertyContainer。)
公共方法 GetReferencedDanglingRelationshipEntries 返回关系项的列表,其中此元素位于左侧,而关系的右侧或者没有元素,或者位于右侧的元素在模型中不存在。 (继承自 IModelElement。)
公共方法 GetReferencedElements 返回位于具有此元素的关系中元素的列表,其中此元素位于关系的左侧。 (继承自 IModelElement。)
公共方法 GetReferencedRelationshipEntries 返回关系项的列表,其中此元素位于左侧。 (继承自 IModelElement。)
公共方法 GetReferencingElements 返回位于具有此元素的关系中元素的列表,其中此元素位于右侧。 (继承自 IModelElement。)
公共方法 GetReferencingRelationshipEntries 返回关系项的列表,其中此元素位于右侧。 (继承自 IModelElement。)
公共方法 GetRelationship(ModelRelationshipClass) 使用提供的元数据返回所请求的关系。 (继承自 IModelElement。)
公共方法 GetRelationship<TFrom, TTo>(ModelRelationshipClass) 返回一个关系,其中两个相关元素属于指定类型。 (继承自 IModelElement。)
公共方法 GetRelationshipEntrySources 返回有关给定关系的源信息的集合。 (继承自 IScriptSourcedModelElement。)
公共方法 GetRelationships 返回此元素中关系的列表。 (继承自 IModelElement。)
公共方法 IsDeleted 指定是否删除对象。 (继承自 IModelElement。)
公共方法 IsExternal 返回一个值,该值指示对象是否从外部源加载且不是架构模型的一部分。 (继承自 IModelElement。)
公共方法 RemoveAnnotation 从此模型元素中移除指定的批注。 (继承自 IModelAnnotationHolder。)
公共方法 SetProperty<TProperty> 设置指定的属性。 (继承自 IModelPropertyContainer。)

页首

请参见

参考

Microsoft.Data.Schema.Sql.SchemaModel 命名空间