IColumnFactory.CreateSimpleColumn 메서드

Creates an IColumn object that has the specified column name and data type.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

IColumn CreateSimpleColumn(
	ITabular parent,
	string name,
	IScalarDataType dataType,
	bool nullable
)

매개 변수

parent
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.ITabular
The object that is the parent of the column.
name
유형: System.String
The name of the column.
dataType
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IScalarDataType
The data type of the column.
nullable
유형: System.Boolean
Indicates whether the scalar is nullable.

반환 값

유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IColumn
An IColumn object that has the specified name and data type.

커뮤니티 추가 항목

추가
표시: