-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Record Ids of string type #89
Comments
The original intention was to be agnostic to any data-oriented solution like EF and to follow the behavior of the existing client SDKs for SurrealDB. Note that the The main difference is that This is similar to the feature requested in #86 |
YesIssues arise when you use old models in postgres or sql server that has a different way of using keys. In that case you might have a UserId column that sholud be mapped to id.I know this is an edge case and a full migration should be a good alternative. It might lessen the work on existing applications to move to Surreal.But Surreal has its way to look at things and it may just not work.Just pushing out some ideas.Sent from my Galaxy
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To remove the need of a reference to surrealdb.net in the domain model an id of string type should be handled as well as the Thing type. Maybe mapping id to any properties that has the [Key] attribute. This would make it easier to adopt existing EF models.
The text was updated successfully, but these errors were encountered: