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.
파일 보기 프로젝트 열기: buttonpusher/NetBase 1 사용 예제들

공개 메소드들

메소드 설명
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