C# Класс NetBase.Storage.Column

The column class is roughly based on a DBF style struct. Names are limited to ten characters, there are a couple of datatypes; but they're all written as strings, that kind of thing. Note that NetBase currently only supports writing strings; although it can read different datatypes See the table class for more notes about the on-disk format.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BinRead ( BinaryReader br ) : void
BinWrite ( BinaryWriter bw ) : void
ReadFromRow ( BinaryReader br ) : object

The column knows about the datatype, so it takes care of reading and writing the row's data

WriteToRow ( BinaryWriter bw, string data ) : void

The column knows about the datatype, so it takes care of reading and writing the row's data

Описание методов

BinRead() публичный Метод

public BinRead ( BinaryReader br ) : void
br System.IO.BinaryReader
Результат void

BinWrite() публичный Метод

public BinWrite ( BinaryWriter bw ) : void
bw System.IO.BinaryWriter
Результат void

ReadFromRow() публичный Метод

The column knows about the datatype, so it takes care of reading and writing the row's data
public ReadFromRow ( BinaryReader br ) : object
br System.IO.BinaryReader
Результат object

WriteToRow() публичный Метод

The column knows about the datatype, so it takes care of reading and writing the row's data
public WriteToRow ( BinaryWriter bw, string data ) : void
bw System.IO.BinaryWriter
data string
Результат void