-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Hi there,
I'm trying to use DensoDB as one of many DB providers but I'm getting random errors:
- ShrinkToSN called many times and sometimes gets System.IO.IOException on Insert or on Get something
using (var readerfs = File.Open(FileName, FileMode.Open, FileAccess.Read, FileShare.Write))
here» using (var writerfs = File.Open(FileName, FileMode.Open, FileAccess.Write, FileShare.Read))Initially was using in a multithread env but even single-thread keeps happening
Detail:
{"The process cannot access the file 'C:\denso.jnl' because it is being used by another process."}
-
How to delete a DB?
-
How to delete a record?
-
How to make a kind of Insert or Update
-
Getting no results from:
a) define a class for my data
private class KeyDataStruct
{
public string Tablename;
public string Key;
public string Data;
public DateTime DateTimeMask;
}b) save the data
DeNSo.Session denso = d.Session.New;
DeNSo.EventCommandStatus command;
command = denso.Set(
new KeyDataStruct()
{
Tablename = tablename,
Key = key,
Data = data,
DateTimeMask = System.DateTime.Now
}
);c) file contains:
* "_action":"denso_builtin_set","_value":{"Tablename":"test","Key":"0000","Data":"0000-BJsWzPLnsjFFGq5************
d) but running this with tablename = test and key = 0000
DeNSo.Session denso = d.Session.New;
List<KeyDataStruct> result = denso.Get<KeyDataStruct>(
c =>
c.Tablename == tablename &&
c.Key == key
).ToList<KeyDataStruct>();get empty results;
Thanks
Ricardo
Metadata
Metadata
Assignees
Labels
No labels