C# Class DBreeze.SchemeInternal.DbUserTables

ファイルを表示 Open project: hhblaze/DBreeze

Public Methods

Method Description
PatternsIntersect ( string p1, string p2 ) : bool

TableNamesContains ( List list1, string tableName ) : bool

Checks intersection between List of patterns and one pattern

TableNamesIntersect ( List list1, List list2 ) : bool

Checks intersection between two lists of patterns

UserTableNameIsOk ( string tableName ) : void

Checks validity of the user table name

UserTablePatternIsOk ( string tableName ) : string

Throws exception if smth. happened. Returns either original table name or cutted if * is found

Private Methods

Method Description
TestIntersectionPatterns ( bool assumption, string p1, string p2 ) : void

TEST Intersections pattern

Method Details

PatternsIntersect() public static method

public static PatternsIntersect ( string p1, string p2 ) : bool
p1 string
p2 string
return bool

TableNamesContains() public static method

Checks intersection between List of patterns and one pattern
public static TableNamesContains ( List list1, string tableName ) : bool
list1 List
tableName string
return bool

TableNamesIntersect() public static method

Checks intersection between two lists of patterns
public static TableNamesIntersect ( List list1, List list2 ) : bool
list1 List
list2 List
return bool

UserTableNameIsOk() public static method

Checks validity of the user table name
public static UserTableNameIsOk ( string tableName ) : void
tableName string
return void

UserTablePatternIsOk() public static method

Throws exception if smth. happened. Returns either original table name or cutted if * is found
public static UserTablePatternIsOk ( string tableName ) : string
tableName string
return string