dotnetcore / SmartSql

SmartSql = MyBatis in C# + .NET Core+ Cache(Memory | Redis) + R/W Splitting + PropertyChangedTrack +Dynamic Repository + InvokeSync + Diagnostics
https://smartsql.net/
Apache License 2.0
1.1k stars 222 forks source link

Is it good idea? #3

Closed ZedZipDev closed 7 years ago

ZedZipDev commented 7 years ago

I am sure you understand that it is incorrect in the common case

INSERT INTO T_Test (Name) VALUES (@Name) **;Select @@IDENTITY**
Ahoo-Wang commented 7 years ago

Thank you for reminding me. https://github.com/Ahoo-Wang/SmartSql/commit/347a19dd2ab6457b398a4522319d70d2128b127f

ZedZipDev commented 7 years ago

Yes, it is correct, thanks