﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » DDT generated CRUD sproc question</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 03:10:26 GMT</lastBuildDate><ttl>20</ttl><item><title>DDT generated CRUD sproc question</title><link>http://forum.strataframe.net/FindPost16864.aspx</link><description>The DDT auto-generated sprocs, UPDATE specifically, expect all fields in the table to be passed as parameters and blow out if the BO's fill method that you call BO.save() against (causing an UPDATE) doesnt pull all the fields. I have some fields that I never want updated as they are only updated via triggers on the table itself defined on the SQL Server. Should I just override the definition of the SPROCS to not include these fields? or it is better to leave them and fill() all the fields even though they will never be updated or modified (which seems silly especially for a large table).&lt;/P&gt;&lt;P&gt;I see the collection of FieldstoExcludeFromUpdate on the BO's, I suspect these only work when NOT using CRUD sprocs, correct?&lt;/P&gt;&lt;P&gt;Still learning about using sprocs, appreciate the answers.</description><pubDate>Fri, 06 Jun 2008 08:40:15 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: DDT generated CRUD sproc question</title><link>http://forum.strataframe.net/FindPost16881.aspx</link><description>That is what I thought I just wanted confirmation that it was "ok" since I hadnt run across it before.&lt;/P&gt;&lt;P&gt;Thanks</description><pubDate>Fri, 06 Jun 2008 08:40:15 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: DDT generated CRUD sproc question</title><link>http://forum.strataframe.net/FindPost16879.aspx</link><description>In this case you may want to copy over the sproc that was generated for you, make the changes and then deploy that sproc.&amp;nbsp; Then, use the FieldsToExcludeFromUpdate so that the BO doesn't send those fields over when updating.&amp;nbsp; That might be what you are wanting to do if I understand you correctly.</description><pubDate>Fri, 06 Jun 2008 08:34:19 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: DDT generated CRUD sproc question</title><link>http://forum.strataframe.net/FindPost16867.aspx</link><description>Hey Keith!&lt;/P&gt;&lt;P&gt;This one might help you:&lt;/P&gt;&lt;P&gt;&lt;A href="http://forum.strataframe.net/FindPost7234.aspx"&gt;http://forum.strataframe.net/FindPost7234.aspx&lt;/A&gt;</description><pubDate>Thu, 05 Jun 2008 14:38:51 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>