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


DataGenerationServices.FilterGenerators Method

Removes output descriptors from the provided list of possible output descriptors for the provided column.

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

Syntax

'Declaration
Public Overridable Function FilterGenerators ( _
    column As IDatabaseColumn, _
    possibleOutputs As IList(Of OutputDescriptor) _
) As IList(Of OutputDescriptor)
public virtual IList<OutputDescriptor> FilterGenerators(
    IDatabaseColumn column,
    IList<OutputDescriptor> possibleOutputs
)
public:
virtual IList<OutputDescriptor^>^ FilterGenerators(
    IDatabaseColumn^ column, 
    IList<OutputDescriptor^>^ possibleOutputs
)
abstract FilterGenerators : 
        column:IDatabaseColumn * 
        possibleOutputs:IList<OutputDescriptor> -> IList<OutputDescriptor> 
override FilterGenerators : 
        column:IDatabaseColumn * 
        possibleOutputs:IList<OutputDescriptor> -> IList<OutputDescriptor> 
public function FilterGenerators(
    column : IDatabaseColumn, 
    possibleOutputs : IList<OutputDescriptor>
) : IList<OutputDescriptor>

Parameters

Return Value

Type: System.Collections.Generic.IList<OutputDescriptor>
A list of output descriptors that are appropriate for the provided column.

Remarks

The FilterGenerators method allows a developer to remove those output descriptors that the model does not require or can ignore, if that is desired.

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

.NET Framework Security

See Also

Reference

DataGenerationServices Class

Microsoft.Data.Schema.Tools.DataGenerator Namespace

IDatabaseColumn

OutputDescriptor