C# Class Deveel.Data.Sql.Tables.ColumnInfo

Inheritance: ISerializable
Mostra file Open project: deveel/deveeldb Class Usage Examples

Private Properties

Property Type Description
ColumnInfo System

Public Methods

Method Description
ColumnInfo ( string columnName, SqlType columnType ) : System

Constructs a new column with the given name and type.

Deserialize ( BinaryReader reader, ITypeResolver typeResolver ) : ColumnInfo
ISerializable ( SerializationInfo info, StreamingContext context ) : void
Serialize ( ColumnInfo columnInfo, BinaryWriter writer ) : void

Private Methods

Method Description
ColumnInfo ( SerializationInfo info, StreamingContext context ) : System

Method Details

ColumnInfo() public method

Constructs a new column with the given name and type.
/// If either one of or /// is null. ///
public ColumnInfo ( string columnName, SqlType columnType ) : System
columnName string The name of the column, as case-sensitive and unique /// within the table.
columnType SqlType The that this column will handle.
return System

Deserialize() public static method

public static Deserialize ( BinaryReader reader, ITypeResolver typeResolver ) : ColumnInfo
reader System.IO.BinaryReader
typeResolver ITypeResolver
return ColumnInfo

ISerializable() public method

public ISerializable ( SerializationInfo info, StreamingContext context ) : void
info SerializationInfo
context StreamingContext
return void

Serialize() public static method

public static Serialize ( ColumnInfo columnInfo, BinaryWriter writer ) : void
columnInfo ColumnInfo
writer System.IO.BinaryWriter
return void