共用方式為


ISql100SimpleColumn 介面

模型化簡單資料行。

命名空間:  Microsoft.Data.Schema.Sql.SchemaModel
組件:  Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)

語法

'宣告
Public Interface ISql100SimpleColumn _
    Inherits ISqlSimpleColumn, ISqlColumn, IDatabaseColumn, IModelNamed,  _
    ISqlExtendedPropertyHost, ISqlSecurable, ISqlLegacyDataConstraintTarget, ISqlModelElement, IScriptSourcedModelElement,  _
    IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
public interface ISql100SimpleColumn : ISqlSimpleColumn, 
    ISqlColumn, IDatabaseColumn, IModelNamed, ISqlExtendedPropertyHost, ISqlSecurable, 
    ISqlLegacyDataConstraintTarget, ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, 
    IModelEntity, IModelAnnotationHolder
public interface class ISql100SimpleColumn : ISqlSimpleColumn, 
    ISqlColumn, IDatabaseColumn, IModelNamed, ISqlExtendedPropertyHost, ISqlSecurable, 
    ISqlLegacyDataConstraintTarget, ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, 
    IModelEntity, IModelAnnotationHolder
type ISql100SimpleColumn =  
    interface
        interface ISqlSimpleColumn
        interface ISqlColumn
        interface IDatabaseColumn
        interface IModelNamed
        interface ISqlExtendedPropertyHost
        interface ISqlSecurable
        interface ISqlLegacyDataConstraintTarget
        interface ISqlModelElement
        interface IScriptSourcedModelElement
        interface IModelElement
        interface IModelPropertyContainer
        interface IModelEntity
        interface IModelAnnotationHolder
    end
public interface ISql100SimpleColumn extends ISqlSimpleColumn, ISqlColumn, IDatabaseColumn, IModelNamed, ISqlExtendedPropertyHost, ISqlSecurable, ISqlLegacyDataConstraintTarget, ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder

ISql100SimpleColumn 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 Collation 取得或設定資料行的定序。 (繼承自 ISqlSimpleColumn)。
公用屬性 Defaults 取得參考此資料行之預設條件約束的清單。 (繼承自 ISqlColumn)。
公用屬性 ElementClass 取得項目的中繼資料類別。 (繼承自 IModelElement)。
公用屬性 ExtendedProperties 取得此物件的擴充屬性清單。 (繼承自 ISqlExtendedPropertyHost)。
公用屬性 IdentityIncrement 取得或設定用於識別資料行的識別值增量。 (繼承自 ISqlSimpleColumn)。
公用屬性 IdentityIsNotForReplication 取得或設定模型化識別資料行之 NOT FOR REPLICATION 選項的值。 (繼承自 ISqlSimpleColumn)。
公用屬性 IdentitySeed 取得或設定用於識別資料行的識別值種子。 (繼承自 ISqlSimpleColumn)。
公用屬性 IsFileStream 取得或設定值,這個值表示是否使用檔案資料流來儲存資料行資料。
公用屬性 IsIdentity 取得或設定值,這個值表示該資料行是否為識別資料行。 (繼承自 ISqlSimpleColumn)。
公用屬性 IsNullable 取得或設定值,這個值表示資料行是否可為 null。 (繼承自 ISqlSimpleColumn)。
公用屬性 IsRowGuidColumn 取得或設定值,這個值表示該資料行是否為 RowGuid 資料行。 (繼承自 ISqlSimpleColumn)。
公用屬性 IsSparse 取得或設定值,這個值表示此資料行是否為疏鬆資料行。
公用屬性 Model 取得模型參考。 (繼承自 IModelEntity)。
公用屬性 Name 取得或設定項目的名稱。 (繼承自 IModelElement)。
公用屬性 Parent 取得資料庫資料行的父代 IDatabaseColumnSource。 (繼承自 IDatabaseColumn)。
公用屬性 Parent 取得做為此資料行之父資料行的資料行來源。 (繼承自 ISqlColumn)。
公用屬性 Permissions 取得套用至此物件之使用權限的清單。 (繼承自 ISqlSecurable)。
公用屬性 PrimarySource 取得項目之主要來源的相關資訊。 (繼承自 IScriptSourcedModelElement)。
公用屬性 ReferencingForeignKey 取得參考此資料行之外部索引鍵的清單。 (繼承自 ISqlColumn)。
公用屬性 ResolutionStatus 取得或設定模型項目解析狀態的值。 (繼承自 IModelElement)。
公用屬性 RulesDefaults 取得套用至此目標的條件約束清單。 (繼承自 ISqlLegacyDataConstraintTarget)。
公用屬性 SecondarySources 取得項目的次要來源清單。 (繼承自 IScriptSourcedModelElement)。
公用屬性 SourceCodePositions 取得定義這個項目的來源清單。 (繼承自 IModelElement)。
公用屬性 TypeSpecifier 取得或設定資料行中資料的型別。 (繼承自 IDatabaseColumn)。
公用屬性 TypeSpecifier 取得或設定此資料行中資料的型別。 (繼承自 ISqlColumn)。
公用屬性 TypeSpecifier 取得或設定資料行的型別。 (繼承自 ISqlSimpleColumn)。
公用屬性 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)。
公用方法 GetComposingChildren 傳回這個項目的組成子系清單。 (繼承自 IModelElement)。
公用方法 GetDefaultsRelationship 傳回 this 與關聯 ISqlDefaultConstraint 之間的 IModelReverseMultiRelationship。 (繼承自 ISqlColumn)。
公用方法 GetExtendedPropertiesRelationship 傳回 this 與關聯 ISqlExtendedProperty 之間的 IModelReverseMultiRelationship。 (繼承自 ISqlExtendedPropertyHost)。
公用方法 GetHierarchicalChildren 傳回這個項目的階層式子系清單。 (繼承自 IModelElement)。
公用方法 GetOwnerInfo 傳回項目擁有者的相關資訊。 (繼承自 IModelElement)。
公用方法 GetParentRelationship() 傳回此 IDatabaseColumn 與其 IDatabaseColumnSource 之間的 IModelReverseSingleRelationship。 (繼承自 IDatabaseColumn)。
公用方法 GetParentRelationship() 傳回 this 與關聯 ISqlColumnSource 之間的 IModelReverseSingleRelationship。 (繼承自 ISqlColumn)。
公用方法 GetPermissionsRelationship 傳回 this 與關聯 ISqlPermissionStatement 之間的 IModelReverseMultiRelationship。 (繼承自 ISqlSecurable)。
公用方法 GetProperty<TProperty> 取得指定的屬性。 (繼承自 IModelPropertyContainer)。
公用方法 GetReferencedDanglingRelationshipEntries 傳回關聯性項目的清單,其中,這個項目位於關聯性的左邊,而關聯性的右邊沒有項目,或是右邊的項目不存在於模型中。 (繼承自 IModelElement)。
公用方法 GetReferencedElements 傳回與這個項目有關聯的項目清單,其中,這個項目位於關聯性的左邊。 (繼承自 IModelElement)。
公用方法 GetReferencedRelationshipEntries 傳回關聯性項目的清單,其中,這個項目位於左邊。 (繼承自 IModelElement)。
公用方法 GetReferencingElements 傳回與這個項目有關聯的項目清單,其中,這個項目位於右邊。 (繼承自 IModelElement)。
公用方法 GetReferencingForeignKeyRelationship 傳回 this 與關聯 ISqlForeignKeyConstraint 之間的 IModelReverseMultiRelationship。 (繼承自 ISqlColumn)。
公用方法 GetReferencingRelationshipEntries 傳回關聯性項目的清單,其中,這個項目位於右邊。 (繼承自 IModelElement)。
公用方法 GetRelationship(ModelRelationshipClass) 使用提供的中繼資料,傳回所要求的關聯性。 (繼承自 IModelElement)。
公用方法 GetRelationship<TFrom, TTo>(ModelRelationshipClass) 傳回關聯性,其中,兩個相關項目是指定的型別。 (繼承自 IModelElement)。
公用方法 GetRelationshipEntrySources 傳回指定之關聯性的來源資訊集合。 (繼承自 IScriptSourcedModelElement)。
公用方法 GetRelationships 傳回這個項目中的關聯性清單。 (繼承自 IModelElement)。
公用方法 GetRulesDefaultsRelationship 傳回 this 與關聯 ISqlLegacyDataConstraints 之間的 IModelReverseMultiRelationship。 (繼承自 ISqlLegacyDataConstraintTarget)。
公用方法 GetTypeSpecifierRelationship() 傳回此 IDatabaseColumn 與其 IDatabaseTypeSpecifier 之間的 IModelSingleRelationship。 (繼承自 IDatabaseColumn)。
公用方法 GetTypeSpecifierRelationship() 傳回 this 與關聯 ISqlTypeSpecifier 之間的 IModelSingleRelationship。 (繼承自 ISqlColumn)。
公用方法 GetTypeSpecifierRelationship() 傳回 this 與關聯 ISqlTypeSpecifier 之間的 IModelSingleRelationship。 (繼承自 ISqlSimpleColumn)。
公用方法 IsDeleted 指定是否已刪除物件。 (繼承自 IModelElement)。
公用方法 IsExternal 傳回值,這個值表示物件是否從外部來源載入,而不是結構描述模型的一部分。 (繼承自 IModelElement)。
公用方法 RemoveAnnotation 從這個模型項目移除指定的附註。 (繼承自 IModelAnnotationHolder)。
公用方法 SetProperty<TProperty> 設定指定的屬性。 (繼承自 IModelPropertyContainer)。

回頁首

請參閱

參考

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