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
- column
Type: Microsoft.Data.Schema.SchemaModel.Abstract.IDatabaseColumn
An IDatabaseColumn object that represents the current column.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.