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


DataGenerationServices.GetReferencedColumn Method

Returns a list of columns that the provided column references.

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

Syntax

'Declaration
Public Overridable Function GetReferencedColumn ( _
    column As IDatabaseColumn _
) As List(Of String)
public virtual List<string> GetReferencedColumn(
    IDatabaseColumn column
)
public:
virtual List<String^>^ GetReferencedColumn(
    IDatabaseColumn^ column
)
abstract GetReferencedColumn : 
        column:IDatabaseColumn -> List<string> 
override GetReferencedColumn : 
        column:IDatabaseColumn -> List<string> 
public function GetReferencedColumn(
    column : IDatabaseColumn
) : List<String>

Parameters

Return Value

Type: System.Collections.Generic.List<String>
The list of referenced columns. For example, in the implementation for SQL Server, this refers to the foreign key relationships between columns.

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

IDatabaseColumn