Share via


IColumnFactory Interface

Defines methods that are used to create IColumn objects.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Interface IColumnFactory
'Usage
Dim instance As IColumnFactory
public interface IColumnFactory
public interface class IColumnFactory
type IColumnFactory =  interface end
public interface IColumnFactory

The IColumnFactory type exposes the following members.

Properties

  Name Description
Public property Null Gets an IColumn object that can be used as a placeholder column.

Top

Methods

  Name Description
Public method Create(String) Obsolete. Creates an IMutableColumn object that has the specified name.
Public method Create(ITabular, String) Creates an ImutableColumn object that has the specified name.
Public method CreateAnonymousColumn Creates an IColumn object that represents an anonymous column of the specified scalar.
Public method CreateColumnAlias(IColumn, String) Creates an IColumn object that is an alias of the specified IScalar object and has the specified column alias name.
Public method CreateColumnAlias(ITabular, IColumn, String) Creates an IColumn object that is an alias of the specified object and has the specified column alias name.
Public method CreateScalarAlias(IScalar, String) Creates an IColumn object that is an alias of the specified IScalar object and has the specified column alias name.
Public method CreateScalarAlias(ITabular, IScalar, String) Creates an IColumn object that is an alias of the specified object and has the specified column alias name.
Public method CreateSimpleColumn(String, IScalarDataType, Boolean) Obsolete. Creates an IColumn object that has the specified column name and data type.
Public method CreateSimpleColumn(ITabular, String, IScalarDataType, Boolean) Creates an IColumn object that has the specified column name and data type.

Top