Comments (4)
can we not insert a guid value with the [key] and [required] annotations? or is this just not possible. Sorry for the mega necro-bump.
from dapper.simplecrud.
Having the same issue here. Are there any plans to implement this?
from dapper.simplecrud.
Yes. I plan to work through the backlog this week and next week and push a new version. Thanks for the feedback.
from dapper.simplecrud.
This has been implemented. The primary key guid needs to autoincrement for this to work by having the default value be NewID() or NEWSEQUENTIALID()
from dapper.simplecrud.
Related Issues (20)
- SimpleCrud works using oracle driver but not odbc
- Insert with Guid as Key: Inconsistent behaviour async/sync
- When inserting entity with int? Id assigned a value other than null, the assigned value is returned instead of the inserted entity's Id HOT 1
- Add fluent config in separate class
- Type Handler not being called for SimpleCRUD extensions HOT 2
- Support mordern sqlserver page query like OFFSET ROWS FETCH NEXT
- Does the library only support SQL Server and not Oracle?
- Attribute for selective inclusion of columns in insert/update HOT 1
- How to insert in CLOB columns with SimpleCRUD ?
- _getIdentitySql for postgres misaligns with actual id of inserted entity
- Tons of exceptions thrown in trying to generate CRUD, PostgreSQL DB
- Using Guids without Guid type in the database (MariaDB)
- GetListPagedAsync fails on table with HierarchyID field type
- System.IndexOutOfRangeException Index was outside the bounds of the array.
- Complex fields not included in SELECT/UPDATE queries
- Question: A primary key that is not identity. HOT 1
- Add support for DateOnly and TimeOnly
- Ignore Update if property value is null
- Support for composite keys ? HOT 1
- it is a bug about string whereCondition HOT 1
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 dapper.simplecrud.