C# 클래스 NetBase.Sql.QueryBuilder

This class responsible for parsing the SQL statement and creating a query object. Why haven't we used a parser generator... well, how would we ever learn anything? However, this is a very large class and could be broken down a little. The entry point is really the "Expression" function at the bottom. The key element here is really the tokenizer.
파일 보기 프로젝트 열기: buttonpusher/NetBase 1 사용 예제들

공개 메소드들

메소드 설명
Parse ( string stmt ) : IQuery

비공개 메소드들

메소드 설명
BracketedFieldList ( ) : void
CreateExpression ( ) : void
Expression ( ) : void
FieldList ( ) : void
InsertExpression ( ) : void
JoinClause ( ) : void
SelectExpression ( ) : void
ValueList ( ) : void
WhereClause ( ) : void

메소드 상세

Parse() 공개 메소드

public Parse ( string stmt ) : IQuery
stmt string
리턴 IQuery