Question about how framework forms SQL statements...


Author
Message
Ben Kim
Ben Kim
StrataFrame User (133 reputation)StrataFrame User (133 reputation)StrataFrame User (133 reputation)StrataFrame User (133 reputation)StrataFrame User (133 reputation)StrataFrame User (133 reputation)StrataFrame User (133 reputation)StrataFrame User (133 reputation)StrataFrame User (133 reputation)
Group: Forum Members
Posts: 99, Visits: 253
Hello,

When inserts and updates SQL statements are created do they include all fields or just fields that have been changed?  If they include all fields are there plans in place to change this feature?   It would dramatically decrease the amount of network traffic and work for SQL server on the backend.

Thanks!

Ben, Emergitech

StrataFrame Team
S
StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Yes, updates currently include all fields.  The reason for this was to allow support for stored procedure updates and to allow the update commands to be cached, which improved performance more than specifying only the fields that had changed.  The way SF handles updates will be changed significantly in the next major version of SF where LINQ support is implemented, most likely allowing you to configure whether only modified field should be updated, or all fields.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search