Show / Hide Table of Contents

Class DB

Inheritance
System.Object
DB
Namespace: GCore.Data
Assembly: GCore.dll
Syntax
public class DB : object

Constructors

| Improve this Doc View Source

DB(String)

Declaration
public DB(string file)
Parameters
Type Name Description
System.String file
| Improve this Doc View Source

DB(String, ByteArrayExtensions.DataFormatType)

Declaration
public DB(string file, ByteArrayExtensions.DataFormatType format)
Parameters
Type Name Description
System.String file
ByteArrayExtensions.DataFormatType format

Fields

| Improve this Doc View Source

dbFile

Declaration
public FileInfo dbFile
Field Value
Type Description
FileInfo
| Improve this Doc View Source

DefaultFormatType

Declaration
public static ByteArrayExtensions.DataFormatType DefaultFormatType
Field Value
Type Description
ByteArrayExtensions.DataFormatType
| 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

FormatType

Declaration
public ByteArrayExtensions.DataFormatType FormatType
Field Value
Type Description
ByteArrayExtensions.DataFormatType

Properties

| Improve this Doc View Source

I

Declaration
public static DB I { get; }
Property Value
Type Description
DB
| Improve this Doc View Source

Item[Object]

Declaration
public Object this[object index] { get; set; }
Parameters
Type Name Description
System.Object index
Property Value
Type Description
Object

Methods

| Improve this Doc View Source

BeginEdit()

Declaration
public void BeginEdit()
| 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
public void EndEdit()
| 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
Type Description
Object
| 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
Name Description
T
| 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

ClassExtensions.ThrowIfArgumentIsNull<T>(T, String)
EnumExtensions.Flag<T>(T, T)
ObjectExtensions.IsNumber(Object)
SerializingExtensions.Serialize<T>(T, SerializingExtensions.Serializer)
SerializingExtensions.SerializeBinary<T>(T)
SerializingExtensions.SerializeSoap<T>(T)
SerializingExtensions.SerializeXML<T>(T, Boolean)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX