﻿<?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 » WebForms (How do I?)  » Data Integrity Checking</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 10:02:40 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Data Integrity Checking</title><link>http://forum.strataframe.net/FindPost9125.aspx</link><description>I understand, but generally speaking you don't use all 120 at once.&amp;nbsp; We have more than that in our medical system, but we don't use them all at once.&amp;nbsp; It would be a rare circumstance that all 120+ BOs are used within the same forms or dialogs.&amp;nbsp; So this should be one of those things that is drawn out over the duration of your application development.</description><pubDate>Mon, 28 May 2007 18:08:29 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>Data Integrity Checking</title><link>http://forum.strataframe.net/FindPost1673.aspx</link><description>&lt;DIV id=MessageTextValue&gt;Hi,&lt;BR&gt;&lt;BR&gt;I have some doubts about using StrataFrame for web application.&lt;BR&gt;&lt;BR&gt;1. Can StrataFrame automatically check for duplicate record if a user trying to add new record into a table? Do I need to add my own sql to check it?&lt;BR&gt;&lt;BR&gt;2. Can StrataFrame autimatically check whether the record is referenced in child table before update/delete? Do I need to add my own sql to check it?&lt;BR&gt;&lt;BR&gt;3. How can I retrieve the foreign key description from another table? Does StrataFrame provide any special function to do that?&lt;BR&gt;&lt;BR&gt;Thanks. &lt;/DIV&gt;</description><pubDate>Mon, 28 May 2007 18:08:29 GMT</pubDate><dc:creator>Wang Tong Yin</dc:creator></item><item><title>RE: Data Integrity Checking</title><link>http://forum.strataframe.net/FindPost9119.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I usually take 30-50 secs to setup one BO. However, there are at least 120 BOs to be created for now.</description><pubDate>Mon, 28 May 2007 11:23:01 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Data Integrity Checking</title><link>http://forum.strataframe.net/FindPost9114.aspx</link><description>We do not have a&amp;nbsp;firm release date for 2.0.&amp;nbsp; It will be after Orcas has been released.&amp;nbsp; As always, we will keep our users informed of things to come.&lt;/P&gt;&lt;P&gt;Just as a side note, I do not understand why it takes so long for you to create your business objects.&amp;nbsp; I understand that logic and Fill methods may grow over time, but our most complex BO within our medical software did not take 50 minutes (3000 seconds) to create.&amp;nbsp; In fact, the average BO only takes 5 minutes or less to create, setup custom Fill or Scalar methods, and add the business checking logic.&amp;nbsp;</description><pubDate>Mon, 28 May 2007 09:33:50 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Data Integrity Checking</title><link>http://forum.strataframe.net/FindPost9110.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;Thank you for your clarification.&lt;/P&gt;&lt;P&gt;May I know when would SF 2.0 live, quarter 4th or next year? :p&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Sun, 27 May 2007 19:54:53 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Data Integrity Checking</title><link>http://forum.strataframe.net/FindPost9105.aspx</link><description>I appreciate your point, Chan.&amp;nbsp;&amp;nbsp;First, we are all for as much automation and speed as possible and this is something that has already been discussed for future SF releases (possiblly next major release 2.0).&amp;nbsp; However, StrataFrame allows you to setup relationships between BOs that does not exist within the SQL structures.&amp;nbsp; There needs to be a very integrated and customizable BO creation tool that ties into VS and gives the developer the most control as possible.&amp;nbsp; Automation generally takes more control away from the developer, so before we implement something like this, there is a lot of foundational work that needs to be done to allow developers the same type of flexibilty that currently exists which still achieving the benefits of automation.&amp;nbsp; So rest assured that there will continue to be more automation features implemented into SF, but this particular feature will not be feasible until the next major release of SF.</description><pubDate>Sun, 27 May 2007 10:44:32 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Data Integrity Checking</title><link>http://forum.strataframe.net/FindPost9101.aspx</link><description>[quote]StrataFrame does not detect the foreign keys within SQL Server and create the relationships between the business objects.&amp;nbsp; The relationship must be manually created through the component designer for the business object.&amp;nbsp; There is a type editor that handles the relationship definition which &lt;STRONG&gt;reduces the time needed to define it to less than 30 seconds&lt;/STRONG&gt;.&amp;nbsp; Once the relationship has been defined on the business object, however, you can easliy retrive the description for it at runtime and/or through code.[/quote]&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Usually, we have more than 100 tables. To create each of them, it would take 3000 secs = 50 hours to do it.&lt;/P&gt;&lt;P&gt;Also, I would think auto-create BO, default value, required fields would also save us alot of time.&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Sat, 26 May 2007 23:13:30 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Data Integrity Checking</title><link>http://forum.strataframe.net/FindPost1684.aspx</link><description>If the database does not support the functionality to cascade DELETE callls (I know that VFP, Access, MSSQL, Oracle, VistaDB, MySQL, PostgreSQL, etc. all do), then you can add a handler within the business object to the AfterDelete event and delete the child records within that event.</description><pubDate>Wed, 28 Jun 2006 08:53:40 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Data Integrity Checking</title><link>http://forum.strataframe.net/FindPost1681.aspx</link><description>Hi Ben,&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;for your answer. I&amp;nbsp;got some ideas on how to do the above. &lt;/P&gt;&lt;P&gt;[quote]StrataFrame will check the child table to a degree: when a child business object saves and it's parent business object is dirty, the child will force the parent to save first.&amp;nbsp; Business objects will not, however, cascade DELETEs or UPDATEs and it is recommended to do that through the Foreign Key on SQL Server.[/quote]&lt;/P&gt;&lt;P&gt;Is that all types of&amp;nbsp;databases have&amp;nbsp;cascade DELETEs or UPDATEs functionality? What I need to do if the database not supports this&amp;nbsp;functionality?</description><pubDate>Wed, 28 Jun 2006 01:55:40 GMT</pubDate><dc:creator>Wang Tong Yin</dc:creator></item><item><title>RE: Data Integrity Checking</title><link>http://forum.strataframe.net/FindPost1675.aspx</link><description>Howdy,&lt;P&gt;[quote]1. Can StrataFrame automatically check for duplicate record if a user trying to add new record into a table? Do I need to add my own sql to check it?[/quote]&lt;P&gt;No, StrataFrame will not automatically check for a duplicate record within SQL Server when a new record is created.&amp;nbsp; You can easily create a method that retrieves the count of the records from the server that conflict with the current record and test the count within the CheckRulesOnCurrentRow event handler.&lt;P&gt;[quote]2. Can StrataFrame autimatically check whether the record is referenced in child table before update/delete? Do I need to add my own sql to check it?[/quote]&lt;P&gt;StrataFrame will check the child table to a degree: when a child business object saves and it's parent business object is dirty, the child will force the parent to save first.&amp;nbsp; Business objects will not, however, cascade DELETEs or UPDATEs and it is recommended to do that through the Foreign Key on SQL Server.&lt;P&gt;[quote]3. How can I retrieve the foreign key description from another table? Does StrataFrame provide any special function to do that?[/quote]&lt;P&gt;StrataFrame does not detect the foreign keys within SQL Server and create the relationships between the business objects.&amp;nbsp; The relationship must be manually created through the component designer for the business object.&amp;nbsp; There is a type editor that handles the relationship definition which reduces the time needed to define it to less than 30 seconds.&amp;nbsp; Once the relationship has been defined on the business object, however, you can easliy retrive the description for it at runtime and/or through code.</description><pubDate>Tue, 27 Jun 2006 08:58:41 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>