C# 클래스 Deveel.Data.Sql.Schemas.SchemaInfo

Describes the properties of a schema in a database system.

A schema is a collection of database objects (for example TABLE, VIEW, TYPE, TRIEGGER, etc.).

It is possible for a schema to specify additional metadata information, such as the culture that will be used by default to collate strings in comparisons.

It is not possible to define more than one schema with the same name in a database.

상속: IObjectInfo
파일 보기 프로젝트 열기: deveel/deveeldb 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Compare ( string s1, string s2 ) : int

Compares two strngs given using the culture set in the schema.

Compare ( string s1, string s2, bool ignoreCase ) : int

Compares two strngs given using the culture set in the schema.

If the Culture metadata was not set in the schema, the two strings will be compared using the invariant culture.

SchemaInfo ( string name, string type ) : System

Constructs the schema with the given name

메소드 상세

Compare() 공개 메소드

Compares two strngs given using the culture set in the schema.
public Compare ( string s1, string s2 ) : int
s1 string The first string to compare.
s2 string The second argument of the comparison.
리턴 int

Compare() 공개 메소드

Compares two strngs given using the culture set in the schema.
If the Culture metadata was not set in the schema, the two strings will be compared using the invariant culture.
public Compare ( string s1, string s2, bool ignoreCase ) : int
s1 string The first string to compare.
s2 string The second argument of the comparison.
ignoreCase bool Indicates whether to ignore the case of strings or not.
리턴 int

SchemaInfo() 공개 메소드

Constructs the schema with the given name
public SchemaInfo ( string name, string type ) : System
name string The name that identifies the schema.
type string The type of the schema to create.
리턴 System