C# 클래스 SemWeb.Stores.SQLStore2

상속: SelectableSource, StatementSink, IDisposable
파일 보기 프로젝트 열기: JoshData/semweb-dotnet 1 사용 예제들

공개 메소드들

메소드 설명
Add ( Statement statement ) : void
Clear ( ) : void
Close ( ) : void
Contains ( Resource resource ) : bool
Contains ( Statement template ) : bool
Import ( StatementSource source ) : void
Replace ( System.Entity a, System.Entity b ) : void
Replace ( Statement find, Statement replacement ) : void
SQLStore2 ( string prefix, ConnectionManager connection ) : System
Select ( SelectFilter filter, StatementSink result ) : void
Select ( Statement template, StatementSink result ) : void
Select ( StatementSink result ) : void

보호된 메소드들

메소드 설명
EscapedAppend ( StringBuilder b, string str ) : void
EscapedAppend ( StringBuilder b, string str, bool quotes, bool forLike ) : void

비공개 메소드들

메소드 설명
AddValue ( Resource resource ) : void
AddValue ( Resource resource, StringBuilder buffer, bool insertCombined, bool &firstInsert ) : void
AppendComma ( StringBuilder builder, string text, bool comma ) : void
AsInt ( object r ) : int
AsString ( object r ) : string
CreatePrefixTest ( string column, string match ) : string
CreateVersion ( ) : bool
Escape ( string str, bool quotes ) : string
FilterOpToSQL ( LiteralFilter op ) : string
FilterToSQL ( LiteralFilter filter, string col ) : string
GetHash ( Resource resource ) : string
IDisposable ( ) : void
Init ( ) : void
ParseVersionInfo ( string verdata ) : NameValueCollection
RunScalarInt ( string sql, int def ) : int
RunScalarString ( string sql ) : string
Select2 ( SelectFilter filter, StatementSink result ) : void
SelectEntity ( int type, string value ) : System.Entity
SelectResource ( int type, string value, string language, string datatype ) : Resource
SerializeVersionInfo ( NameValueCollection verdata ) : string
SplitArray ( Resource e ) : Resource[][]
StatementSink ( Statement statement ) : bool
WhereClause ( SelectFilter filter, System cmd ) : bool
WhereItem ( string col, Resource r, System cmd, bool and ) : void

메소드 상세

Add() 공개 메소드

public Add ( Statement statement ) : void
statement Statement
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

Contains() 공개 메소드

public Contains ( Resource resource ) : bool
resource Resource
리턴 bool

Contains() 공개 메소드

public Contains ( Statement template ) : bool
template Statement
리턴 bool

EscapedAppend() 보호된 메소드

protected EscapedAppend ( StringBuilder b, string str ) : void
b StringBuilder
str string
리턴 void

EscapedAppend() 보호된 메소드

protected EscapedAppend ( StringBuilder b, string str, bool quotes, bool forLike ) : void
b StringBuilder
str string
quotes bool
forLike bool
리턴 void

Import() 공개 메소드

public Import ( StatementSource source ) : void
source StatementSource
리턴 void

Replace() 공개 메소드

public Replace ( System.Entity a, System.Entity b ) : void
a System.Entity
b System.Entity
리턴 void

Replace() 공개 메소드

public Replace ( Statement find, Statement replacement ) : void
find Statement
replacement Statement
리턴 void

SQLStore2() 공개 메소드

public SQLStore2 ( string prefix, ConnectionManager connection ) : System
prefix string
connection ConnectionManager
리턴 System

Select() 공개 메소드

public Select ( SelectFilter filter, StatementSink result ) : void
filter SelectFilter
result StatementSink
리턴 void

Select() 공개 메소드

public Select ( Statement template, StatementSink result ) : void
template Statement
result StatementSink
리턴 void

Select() 공개 메소드

public Select ( StatementSink result ) : void
result StatementSink
리턴 void