共用方式為


DataGenerationServices.IsNewColumnSelected 方法

決定所提供之新建立或新載入的資料行是否顯示為已選取要用於資料產生。

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

語法

'宣告
Public Overridable Function IsNewColumnSelected ( _
    newPlan As Boolean, _
    newColumn As IDatabaseColumn _
) As Boolean
public virtual bool IsNewColumnSelected(
    bool newPlan,
    IDatabaseColumn newColumn
)
public:
virtual bool IsNewColumnSelected(
    bool newPlan, 
    IDatabaseColumn^ newColumn
)
abstract IsNewColumnSelected : 
        newPlan:bool * 
        newColumn:IDatabaseColumn -> bool 
override IsNewColumnSelected : 
        newPlan:bool * 
        newColumn:IDatabaseColumn -> bool 
public function IsNewColumnSelected(
    newPlan : boolean, 
    newColumn : IDatabaseColumn
) : boolean

參數

  • newPlan
    型別:System.Boolean
    如果新的資料行是新的資料模型計劃的一部分,則為 true,否則為 false。

傳回值

型別:System.Boolean
如果您想要資料行顯示為選取狀態,則為 true,否則為 false。

備註

請透過這個方法提供此資訊,這樣您的資料庫結構描述模型就可以出現在 Visual Studio 專案中,供使用者建立與管理您在模型中定義的資料庫物件。

.NET Framework 安全性

請參閱

參考

DataGenerationServices 類別

Microsoft.Data.Schema.Tools.DataGenerator 命名空間

DataSchemaModel