Поделиться через


DataGenerationServices.IsNewColumnSelected Method

Determines whether the provided newly created, or newly loaded, column appears as selected for data generation.

Namespace:  Microsoft.Data.Schema.Tools.DataGenerator
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
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

Parameters

  • newPlan
    Type: System.Boolean
    true if the new column is part of a new data model plan; otherwise, false.

Return Value

Type: System.Boolean
true if you want the column to appear as selected; otherwise, false.

Remarks

Provide this information through this method so that your database schema model can be represented in Visual Studio projects, where users can create and manipulate database objects that you have defined in your model.

.NET Framework Security

See Also

Reference

DataGenerationServices Class

Microsoft.Data.Schema.Tools.DataGenerator Namespace

DataSchemaModel