Class DB
Inheritance
System.Object
DB
Assembly: GCore.dll
Syntax
Constructors
|
Improve this Doc
View Source
DB(String)
Declaration
Parameters
Type |
Name |
Description |
System.String |
file |
|
|
Improve this Doc
View Source
Declaration
public DB(string file, ByteArrayExtensions.DataFormatType format)
Parameters
Fields
|
Improve this Doc
View Source
dbFile
Declaration
Field Value
Type |
Description |
FileInfo |
|
|
Improve this Doc
View Source
Declaration
public static ByteArrayExtensions.DataFormatType DefaultFormatType
Field Value
|
Improve this Doc
View Source
dicDb
Declaration
public Dictionary<object, object> dicDb
Field Value
Type |
Description |
Dictionary<System.Object, System.Object> |
|
|
Improve this Doc
View Source
Declaration
public ByteArrayExtensions.DataFormatType FormatType
Field Value
Properties
|
Improve this Doc
View Source
I
Declaration
public static DB I { get; }
Property Value
|
Improve this Doc
View Source
Item[Object]
Declaration
public Object this[object index] { get; set; }
Parameters
Type |
Name |
Description |
System.Object |
index |
|
Property Value
Methods
|
Improve this Doc
View Source
BeginEdit()
Declaration
|
Improve this Doc
View Source
ContainsKey(Object)
Declaration
public bool ContainsKey(Object key)
Parameters
Type |
Name |
Description |
Object |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DeleteRecord(Object)
Declaration
public void DeleteRecord(Object key)
Parameters
Type |
Name |
Description |
Object |
key |
|
|
Improve this Doc
View Source
EndEdit()
Declaration
|
Improve this Doc
View Source
GetKeys()
Declaration
public object[] GetKeys()
Returns
Type |
Description |
System.Object[] |
|
|
Improve this Doc
View Source
GetOrDefault(Object, Object)
Declaration
public Object GetOrDefault(Object key, Object defaultValue)
Parameters
Type |
Name |
Description |
Object |
key |
|
Object |
defaultValue |
|
Returns
|
Improve this Doc
View Source
Glob(String)
Declaration
public IEnumerable<Object> Glob(string pattern)
Parameters
Type |
Name |
Description |
System.String |
pattern |
|
Returns
Type |
Description |
IEnumerable<Object> |
|
|
Improve this Doc
View Source
Glob<T>(String)
Declaration
public IEnumerable<T> Glob<T>(string pattern)
Parameters
Type |
Name |
Description |
System.String |
pattern |
|
Returns
Type |
Description |
IEnumerable<T> |
|
Type Parameters
|
Improve this Doc
View Source
GlobPair(String)
Declaration
public IEnumerable<KeyValuePair<Object, Object>> GlobPair(string pattern)
Parameters
Type |
Name |
Description |
System.String |
pattern |
|
Returns
Type |
Description |
IEnumerable<KeyValuePair<Object, Object>> |
|
|
Improve this Doc
View Source
Init(String)
Declaration
public static bool Init(string pathOfDB)
Parameters
Type |
Name |
Description |
System.String |
pathOfDB |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
initDB(String)
Declaration
public void initDB(string dbfile)
Parameters
Type |
Name |
Description |
System.String |
dbfile |
|
Extension Methods