IVsDataTableForeignKeyColumn Interface

Represents a mapped object that describes a table foreign key column.

Namespace:  Microsoft.VisualStudio.Data.Services.RelationalObjectModel
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
<DataMappedObjectTypeAttribute("TableForeignKeyColumn", Identifier := "Catalog, Schema, Table, TableForeignKey, Name",  _
    AvailableRestrictions := "Catalog, Schema, Table, TableForeignKey, Name",  _
    RequiredOrdering := "Catalog, Schema, Table, TableForeignKey, Ordinal",  _
    ClassId := "675817C0-B836-4624-B6F6-7282BB4C470E")> _
Public Interface IVsDataTableForeignKeyColumn _
    Inherits IVsDataTableColumn, IVsDataColumn, IVsDataMappedObject, IVsDataSiteableObject(Of IVsDataMappedObject)
[DataMappedObjectTypeAttribute("TableForeignKeyColumn", Identifier = "Catalog, Schema, Table, TableForeignKey, Name", 
    AvailableRestrictions = "Catalog, Schema, Table, TableForeignKey, Name", 
    RequiredOrdering = "Catalog, Schema, Table, TableForeignKey, Ordinal", 
    ClassId = "675817C0-B836-4624-B6F6-7282BB4C470E")]
public interface IVsDataTableForeignKeyColumn : IVsDataTableColumn, 
    IVsDataColumn, IVsDataMappedObject, IVsDataSiteableObject<IVsDataMappedObject>
[DataMappedObjectTypeAttribute(L"TableForeignKeyColumn", Identifier = L"Catalog, Schema, Table, TableForeignKey, Name", 
    AvailableRestrictions = L"Catalog, Schema, Table, TableForeignKey, Name", 
    RequiredOrdering = L"Catalog, Schema, Table, TableForeignKey, Ordinal", 
    ClassId = L"675817C0-B836-4624-B6F6-7282BB4C470E")]
public interface class IVsDataTableForeignKeyColumn : IVsDataTableColumn, 
    IVsDataColumn, IVsDataMappedObject, IVsDataSiteableObject<IVsDataMappedObject^>
[<DataMappedObjectTypeAttribute("TableForeignKeyColumn", Identifier = "Catalog, Schema, Table, TableForeignKey, Name", 
    AvailableRestrictions = "Catalog, Schema, Table, TableForeignKey, Name", 
    RequiredOrdering = "Catalog, Schema, Table, TableForeignKey, Ordinal", 
    ClassId = "675817C0-B836-4624-B6F6-7282BB4C470E")>]
type IVsDataTableForeignKeyColumn =  
    interface
        interface IVsDataTableColumn
        interface IVsDataColumn
        interface IVsDataMappedObject
        interface IVsDataSiteableObject<IVsDataMappedObject>
    end
public interface IVsDataTableForeignKeyColumn extends IVsDataTableColumn, IVsDataColumn, IVsDataMappedObject, IVsDataSiteableObject<IVsDataMappedObject>

The IVsDataTableForeignKeyColumn type exposes the following members.

Properties

  Name Description
Public property AdoDotNetDataType Gets the ADO.NET data type as a numerical value from an ADO.NET–specific enumeration. (Inherited from IVsDataColumn.)
Public property AdoDotNetDbType Gets a value from the DbType enumeration that specifies the data type of the column for an ADO.NET data provider. (Inherited from IVsDataColumn.)
Public property DefaultValue Gets the default value assigned to this column object, if any. (Inherited from IVsDataTableColumn.)
Public property FrameworkDataType Gets the .NET Framework type of the column. (Inherited from IVsDataColumn.)
Public property Identifier Gets the list of identifier parts that uniquely identify the current generic mapped type. (Inherited from IVsDataMappedObject.)
Public property IsComputed Gets a value indicating whether this column object is computed. (Inherited from IVsDataTableColumn.)
Public property IsDeleted Gets a value indicating whether the current generic mapped type is deleted. (Inherited from IVsDataMappedObject.)
Public property IsNullable Gets a value indicating whether the column is nullable. (Inherited from IVsDataColumn.)
Public property Length Gets the length of the column. (Inherited from IVsDataColumn.)
Public property Name Gets the name of the generic mapped type. (Inherited from IVsDataMappedObject.)
Public property NativeDataType Gets the data source–specific data type name. (Inherited from IVsDataColumn.)
Public property Ordinal Gets the ordinal number of the column, which specifies the order of the column in the columns collection. (Inherited from IVsDataColumn.)
Public property Precision Gets the maximum number of digits stored in the column. (Inherited from IVsDataColumn.)
Public property Properties Gets name/value pairs containing the property names and values associated with the current generic mapped type. (Inherited from IVsDataMappedObject.)
Public property ReferencedColumn Gets the table column that the foreign key column references in the referenced table.
Public property Scale Gets the maximum number of digits to the right of the decimal point. (Inherited from IVsDataColumn.)
Public property Selector Gets a selector object that enables the retrieval of data source–specific metadata from the data object support XML file. (Inherited from IVsDataMappedObject.)
Public property Site Gets or sets the site. (Inherited from IVsDataSiteableObject<T>.)
Public property Type Gets the type name as a string for the current generic mapped type. (Inherited from IVsDataMappedObject.)
Public property UnderlyingObject Gets the underlying object that is contained by the current generic mapped type. (Inherited from IVsDataMappedObject.)
Public property UserDataType Gets a user-defined data type. (Inherited from IVsDataColumn.)

Top

See Also

Reference

Microsoft.VisualStudio.Data.Services.RelationalObjectModel Namespace