﻿<?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?)  » Deleting rows in a view...</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 16:02:13 GMT</lastBuildDate><ttl>20</ttl><item><title>Deleting rows in a view...</title><link>http://forum.strataframe.net/FindPost2478.aspx</link><description>If I create a view and then build a BO based on that view and then bind a grid to that BO, can I delete rows in the grid and have it persist back through the BO to the view and delete the selected rows? I do have more than one table in my view. Dont know if that would matter.&lt;br&gt;
&lt;br&gt;
Thanks</description><pubDate>Fri, 25 Aug 2006 14:00:01 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Deleting rows in a view...</title><link>http://forum.strataframe.net/FindPost2480.aspx</link><description>We have some users that are creating business objects off of views and creating "Instead Of" triggers on the database, but, no, you cannot delete records from a view unless you either index the view or create INSTEAD OF triggers on the view that will allow you to override the DELETE operation on the view.&amp;nbsp; You'll also need to modify the partial class after it is built to declare the field that will be the "primary key" for the view so the business object can execute the delete operations on the server.&lt;/P&gt;&lt;P&gt;You could also create stored procedures to delete the records from the view and tell the business object to use the specified delete stored procedure, but again, you'll need to modify the partial class to tell the business object which field to call the primary key.</description><pubDate>Fri, 25 Aug 2006 14:00:01 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>