SqlInlineConstraintAnnotation 类
对内联约束上的批注建模。
继承层次结构
System.Object
Microsoft.Data.Schema.SchemaModel.ModelAnnotation
Microsoft.Data.Schema.Sql.SchemaModel.SqlInlineConstraintAnnotation
命名空间: Microsoft.Data.Schema.Sql.SchemaModel
程序集: Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)
语法
声明
Public Class SqlInlineConstraintAnnotation _
Inherits ModelAnnotation
public class SqlInlineConstraintAnnotation : ModelAnnotation
public ref class SqlInlineConstraintAnnotation : public ModelAnnotation
type SqlInlineConstraintAnnotation =
class
inherit ModelAnnotation
end
public class SqlInlineConstraintAnnotation extends ModelAnnotation
SqlInlineConstraintAnnotation 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
SqlInlineConstraintAnnotation | 初始化 SqlInlineConstraintAnnotation 类的新实例。 |
页首
属性
名称 | 说明 | |
---|---|---|
AnnotationClass | 获取描述此实例的元数据对象。 (继承自 ModelAnnotation。) | |
IsAttachedToStore | 获取一个值,该值指示批注是否已附加到 ModelStore。 (继承自 ModelAnnotation。) | |
Model | 获取或设置 ModelStore。 (继承自 ModelAnnotation。) | |
Name | 获取或设置批注名称。 (继承自 ModelAnnotation。) |
页首
方法
名称 | 说明 | |
---|---|---|
Delete | 从架构模型中删除此实例。 (继承自 ModelAnnotation。) | |
Equals | 返回一个值,该值指示提供的对象是否与当前对象相等。 (继承自 ModelAnnotation。) | |
Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) | |
GetElements | 返回此实例中元素的列表。 (继承自 ModelAnnotation。) | |
GetHashCode | 不需要。 (继承自 ModelAnnotation。) | |
GetProperty<TProperty> | 检索指定的属性。 (继承自 ModelAnnotation。) | |
GetRelationshipEntries | 返回此批注所附加到的关系项。 (继承自 ModelAnnotation。) | |
GetType | 获取当前实例的 Type。 (继承自 Object。) | |
IsDeleted | 返回一个值,该值指示是否已删除此实例。 (继承自 ModelAnnotation。) | |
MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | |
SetProperty<TProperty> | 设置所提供属性的值。 (继承自 ModelAnnotation。) | |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。