Comments (4)
assign value to id property using idValue.toSting() or if reverse use new Guid(idvalue)
and if you are using EntityFramework Identity customize identity to use int instead of guid.
from json-flatfile-datastore.
ok thanks!
from json-flatfile-datastore.
Apparently this was not a bug in JsonFlatFileDataStore? Will close this issue.
If there is something to be fixed please reopen this.
from json-flatfile-datastore.
assign value to id property using idValue.toSting() or if reverse use new Guid(idvalue) and if you are using EntityFramework Identity customize identity to use int instead of guid.
How do you do that? Where do you implement the idValue.ToString() and viceversa in order to preserve the Guid field?
That would be great in my case as I want to have identities as Guid.
from json-flatfile-datastore.
Related Issues (20)
- Using DI with a console app should I inject as singelton or transient? HOT 2
- Index on property HOT 1
- Update function not working HOT 5
- Simple encryption support
- 看到这个我醉了
- No Timeout/Error on file inaccessibility HOT 1
- System.OperationCanceledException When Disposing DataStore HOT 7
- Synchronizing Async Methods HOT 2
- Providing My Own Primary Keys HOT 1
- No Iterator over Collections? HOT 2
- Minified or compact version of JSON possible? HOT 4
- How to get ToList() ? HOT 1
- Add Support for using a directory as the store, with each document within as a child
- Single Item last field gets duplicated on Replace (When upsert: true and field names in Datastore are in camel case) HOT 5
- Support filesystem abstraction HOT 1
- System.Text.Json HOT 2
- Update is not updating the json File HOT 6
- Error handling Guid in ObjectExtensions.AddDataToField HOT 1
- Weird NotFoundException on Debian 12
- Insert complex JObject failed with Exception:“Parameter count mismatch.” HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-flatfile-datastore.