﻿<?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 / Business Objects and Data Access (How do I?) </title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Mon, 12 May 2008 08:59:28 GMT</lastBuildDate><ttl>20</ttl><item><title>View in DDT with subquery</title><link>http://forum.strataframe.net/Topic16255-6-1.aspx</link><description>Hello! &lt;P&gt;I'm trying to create a view with subquery in DDT but when I see the fields of view, appears only in the field you search subquery.&lt;/P&gt;&lt;P&gt;It has another way to achieve this?&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Thu, 08 May 2008 13:37:50 GMT</pubDate><dc:creator>Angela Sampaio</dc:creator></item><item><title>Speed of Stored Procedure</title><link>http://forum.strataframe.net/Topic16247-6-1.aspx</link><description>I am not getting it.  Earlier this spring I discussed in these forums the utilization of UDFs in filling a BO.  The conclusion was to not use them since they have a great deal of overhead involved.  So, instead, I went with some raw SQL to achieve the same results.  I was able to get one of my more complex queries down to about 3 seconds.  That was wonderful.  Now, I am simply taking the same script that runs in the SQL Query Analyzer at 3 seconds and placing it into a stored procedure with three parameters.  These parameters are declared at the beginning of the script in the query analyzer, too.  I run the stored procedure and it takes many minutes to run (last run: 10 min 04 sec).  I really don't get this.  It is the exact same script.  Is there really that much of a difference in quality between raw SQL script and the same SQL script placed into a stored procedure?  What am I doing wrong?  I have attached the script that I am running in the Query Analyzer and the stored procedure.  I know that these are not pretty...I am still working through the details of this query.  Any help, tips, criticism is welcome! :)&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;Bill</description><pubDate>Thu, 08 May 2008 11:08:08 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>Increase Connection Timeout</title><link>http://forum.strataframe.net/Topic16265-6-1.aspx</link><description>I have a query that is taking about 90 seconds.  The window times out before any data is displayed.  How do I increase the connection timeout for this query?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;Bill</description><pubDate>Thu, 08 May 2008 17:58:22 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>Bind a SF project to a particular data store?</title><link>http://forum.strataframe.net/Topic16280-6-1.aspx</link><description>Is there a way currently to do this?&lt;/P&gt;&lt;P&gt;I now have more than one SF data store, one for internal projects, one for a large customer at their site I access via VPN, and one just for testing and training. If someone forgets to reset the store connection it can be a pain an lead to lost time while they or I figure out what is wrong, is there currenly anywhere I can override/set the SF Data Store used when a project is loaded via the solution file, code, or "smoke and mirrors" :)&lt;/P&gt;&lt;P&gt;Thanks</description><pubDate>Fri, 09 May 2008 08:28:38 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>Move methods and filtering</title><link>http://forum.strataframe.net/Topic16243-6-1.aspx</link><description>I'm not sure if I'm doing something wrong or discovered a small bug.&lt;/P&gt;&lt;P&gt;I have two related business objects on a form, Tasks and TaskPredecessors.  I'm using 'MatchCurrentRow' on the ChildFilterRowMethod.&lt;/P&gt;&lt;P&gt;I am executing a routine to populate the 'Tasks' BO based on data from a temporary business object.   Basically iterating through the temporary BO and creating new rows in the 'Tasks' BO.   This works fine.&lt;/P&gt;&lt;P&gt;Once this routine has completed, I need to populate the 'TaskPredecessors' based on information in the Tasks BO. Basically I am creating dependencies between the tasks.&lt;/P&gt;&lt;P&gt;I am using a similar approach of iterating the Tasks BO...If MoveFirst... MoveNext..  and creating new rows in the TaskPrecedessors BO, however I am getting an error on the NewRow  (Index 0 is either negative or above rows count).&lt;/P&gt;&lt;P&gt;I discovered that the Tasks filter property isn't changing as I iterate through the BO. The property holds the value of the last row from the initial population.  &lt;/P&gt;&lt;P&gt;Should the Move methods be changing the filter property according to the parent primary key?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Thu, 08 May 2008 10:23:45 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>Best Practice for UpdateConcurrencyType?</title><link>http://forum.strataframe.net/Topic16178-6-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;What would be the best option to use between the RowVersion and TimeStamp for checking the concurrency type and why?</description><pubDate>Tue, 06 May 2008 10:17:27 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>July Course - Travel Question</title><link>http://forum.strataframe.net/Topic16214-6-1.aspx</link><description>Hi.. non technical question. I am attending course in July, and one option , to get back home, is to take an Amtrak train from Dodge City to Chicago . Train leaves at midnight on Friday.&lt;/P&gt;&lt;P&gt;My question is.... will I make it to Dodge City(Via Hire Car or Greyhound bus if available) after the course finishes on Friday, bearing in mind Friday traffic etc. I understand it is about a two hour drive from Amarillo to Dodge City but have no idea if Friday -Weekend traffic will cause me any problems (or are there any other issuses which could delay me .&lt;/P&gt;&lt;P&gt;Any feedback appreciated.</description><pubDate>Tue, 06 May 2008 15:29:26 GMT</pubDate><dc:creator>Gerard O Carroll</dc:creator></item><item><title>Best Practice for LastModifiedUser and LastModifiedDate fields in a BO</title><link>http://forum.strataframe.net/Topic16179-6-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;For some tables it is very useful to have a fields that will tell the user when was the record changed and by who.  &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is there anything in SF logic to auto update this kind of fields?&lt;/LI&gt;&lt;LI&gt;If these fields should be updated manually what would be the correct event to use to have these fields updated?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thansk!</description><pubDate>Tue, 06 May 2008 10:20:35 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>DBNULL...again</title><link>http://forum.strataframe.net/Topic16120-6-1.aspx</link><description>Scenario:&lt;/P&gt;&lt;P&gt;I have inherited a table with two fields, one decimal, one string. These together represent the primary key. I need both fields on a maintenance form, bound to textboxes.&lt;/P&gt;&lt;P&gt;Display/Edit/Save is working. I cannot get a new record to add.&lt;/P&gt;&lt;P&gt;I get 'Conversion from type 'DBNull' to type 'String' is not valid.' on the line:&lt;FONT color=#0000ff size=2&gt;&lt;/P&gt;&lt;P&gt;Return&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;CType&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;.CurrentRow.Item(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"ITREPORT"&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;), System.String) in the field properties. I tried to set the defaultValues and the first one sets fine, the second always gives the above error, regardless of the order set. I have PrimaryKeyIsAutoIncremented = False, PrimaryKeyIsUpdateable = True, and even tried out AllowNullsOnNewRow = True. The database fields (DB2) are set to not allow nulls, and have default values set.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I know this could be fixed easily by adding a proper autoincrement key column but I cant, the table is part of a legacy system and the customer is insistant it work as described above, frankly I'm not sure why it isnt. It works fine if the fields are unbound from the textboxes.&lt;/P&gt;&lt;P&gt;I must be missing somethign simple. Which is likely since I havent been coding much lately.&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Sun, 04 May 2008 22:34:31 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>CurrentRow Setting.</title><link>http://forum.strataframe.net/Topic16170-6-1.aspx</link><description>I've added a row to my business object over CurrentTable.ImportRow method. The row is an currentRow of an another object with the same type. Since Business Object Translation is a complicated work, I've choosen this method.&lt;/P&gt;&lt;P&gt;How can I make this row as current row ? So , I can easily access to its properties without exception?</description><pubDate>Tue, 06 May 2008 05:50:09 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>Filling a BO from a BBS</title><link>http://forum.strataframe.net/Topic16155-6-1.aspx</link><description>I have created several custom BBS's for use in my DX report.  So far, all is going quite well.  One thing that would make my life a lot easier is being able to access my custom fill methods from the BO.  Here is an example of my code to fill a BO which fills the BBS which provides data for my report:&lt;BR&gt;&lt;BR&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;public&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;partial&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;class&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;PackingListDS&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; : &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;BusinessBindingSource&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;{&lt;BR&gt;    &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;public&lt;/FONT&gt;&lt;FONT size=2&gt; PackingListDS()&lt;BR&gt;    {&lt;BR&gt;        InitializeComponent();&lt;BR&gt;        &lt;/FONT&gt;&lt;FONT size=2&gt;BusinessObject = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;PackingListBO&lt;/FONT&gt;&lt;FONT size=2&gt;();&lt;BR&gt;    }&lt;BR&gt;&lt;BR&gt;    &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;public&lt;/FONT&gt;&lt;FONT size=2&gt; PackingListDS(&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;IContainer&lt;/FONT&gt;&lt;FONT size=2&gt; container)&lt;BR&gt;    {&lt;BR&gt;        container.Add(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;this&lt;/FONT&gt;&lt;FONT size=2&gt;);&lt;BR&gt;        InitializeComponent();&lt;BR&gt;        &lt;/FONT&gt;&lt;FONT size=2&gt;BusinessObject = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;PackingListBO&lt;/FONT&gt;&lt;FONT size=2&gt;();&lt;BR&gt;    }&lt;BR&gt;&lt;BR&gt;    &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;FONT size=2&gt; Fill(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;int&lt;/FONT&gt;&lt;FONT size=2&gt; pPLIndex)&lt;BR&gt;    {&lt;BR&gt;        &lt;/FONT&gt;&lt;FONT size=2&gt;BusinessObject.FillByPrimaryKey(pPLIndex);&lt;BR&gt;    }&lt;BR&gt;}&lt;/P&gt;&lt;/FONT&gt;This works great!  But, what if I want to fill the BO with a different method than the base methods (MyBO.FillWithMyReallyCoolMethod())?  If I could somehow cast the BBSs BO as the BO of choice, then I could get to them.  How do I do this?&lt;BR&gt;&lt;BR&gt;Thanks,&lt;BR&gt;Bill</description><pubDate>Mon, 05 May 2008 14:44:28 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>ComboBoxEdit Requery Event Failing</title><link>http://forum.strataframe.net/Topic16090-6-1.aspx</link><description>Time to get some help on this.&lt;/P&gt;&lt;P&gt;I have a comboboxedit control that has a requery event taking three integer parameters.  The FillDataTable method in the BO looks like this:&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;public&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; FillByOrderIndex(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;int&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; pPLType, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;int&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; pMasterIndex, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;int&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; pAddrIndex)&lt;BR&gt;&lt;/FONT&gt;{&lt;BR&gt;    &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;SqlParameter&lt;/FONT&gt;&lt;FONT size=2&gt; mPLType = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;SqlParameter&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"@pltype"&lt;/FONT&gt;&lt;FONT size=2&gt;, pPLType);&lt;BR&gt;    &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;SqlParameter&lt;/FONT&gt;&lt;FONT size=2&gt; mMasterIndex = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;SqlParameter&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"@masterindex"&lt;/FONT&gt;&lt;FONT size=2&gt;, pMasterIndex);&lt;BR&gt;    &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;SqlParameter&lt;/FONT&gt;&lt;FONT size=2&gt; mAddrIndex = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;SqlParameter&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"@addrindex"&lt;/FONT&gt;&lt;FONT size=2&gt;, pAddrIndex);&lt;BR&gt;    FillByStoredProcedure(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"spx_GetOrderItemList"&lt;/FONT&gt;&lt;FONT size=2&gt;, mPLType, mMasterIndex, mAddrIndex);&lt;BR&gt;}&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;This actually works (thanks for the help earlier this week!).  The problem comes in when the combobox hits one of the resulting columns.  It is the "orderid" field.  It gets to the following code:&lt;BR&gt;&lt;FONT size=2&gt;&lt;BR&gt;[&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;Browsable&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;false&lt;/FONT&gt;&lt;FONT size=2&gt;),&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;BusinessFieldDisplayInEditor&lt;/FONT&gt;&lt;FONT size=2&gt;(),&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;Description&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;""&lt;/FONT&gt;&lt;FONT size=2&gt;),&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;DesignerSerializationVisibility&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;DesignerSerializationVisibility&lt;/FONT&gt;&lt;FONT size=2&gt;.Hidden)]&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;public&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; System.&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;Int32&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; orderid&lt;BR&gt;&lt;/FONT&gt;{&lt;BR&gt;    &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;get&lt;BR&gt;    &lt;/FONT&gt;&lt;FONT size=2&gt;{&lt;BR&gt;        &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;return&lt;/FONT&gt;&lt;FONT size=2&gt; (System.&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;Int32&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;this&lt;/FONT&gt;&lt;FONT size=2&gt;.CurrentRow[&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"orderid"&lt;/FONT&gt;&lt;FONT size=2&gt;];  &lt;FONT color=#ff1111&gt;&amp;lt;--*** OFFENDING CODE ***&lt;/FONT&gt;&lt;BR&gt;    }&lt;BR&gt;    &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;set&lt;BR&gt;    &lt;/FONT&gt;&lt;FONT size=2&gt;{&lt;BR&gt;        &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;this&lt;/FONT&gt;&lt;FONT size=2&gt;.CurrentRow[&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"orderid"&lt;/FONT&gt;&lt;FONT size=2&gt;] = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;value&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;BR&gt;    }&lt;BR&gt;}&lt;/P&gt;&lt;P&gt;The get_orderid() method kicks out a "Specified cast is not valid" error.  If I place the parameters into the SQL Query Analyzer, I get a result set that does have an orderid and it is an integer value.&lt;/P&gt;&lt;P&gt;Any ideas about what I should do or where to look for a solution?&lt;BR&gt;&lt;BR&gt;Thanks!!&lt;BR&gt;Bill&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;</description><pubDate>Fri, 02 May 2008 14:40:27 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>New C# Component</title><link>http://forum.strataframe.net/Topic16113-6-1.aspx</link><description>I have seen the design of a VB component that inherits from BusinessBindingSource; however, I cannot see to create a C# component that does the same thing (my VB to C# translation skills are not always up to par).  My goal is to create an extended component for a specific business object.  The XBBS will be dropped onto an XtraReport as a datasource.  Any pointers would be appreciated?&lt;/P&gt;&lt;P&gt;Bill</description><pubDate>Sat, 03 May 2008 13:12:11 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>Event BeforeEdit</title><link>http://forum.strataframe.net/Topic16040-6-1.aspx</link><description>Hello&lt;br&gt;&lt;br&gt;I noticed that the business objects have the events BeforeSave, BeforeAddNew, BeforeDelete and BeforeUndo.&lt;br&gt;&lt;br&gt;I need to use an event "BeforeEdit" but i'm not meeting.&lt;br&gt;&lt;br&gt;Is there any way to do that?&lt;br&gt;&lt;br&gt;Thanks.</description><pubDate>Wed, 30 Apr 2008 15:05:13 GMT</pubDate><dc:creator>Angela Sampaio</dc:creator></item><item><title>SQL Notification Services</title><link>http://forum.strataframe.net/Topic16006-6-1.aspx</link><description>I haven't used SQL Notification Services before so this is all new to me.&lt;/P&gt;&lt;P&gt;I have notification services installed, the broker service is enabled on the database and I have set the BO ReceiveQueryNotifications to True. When I run a form containing the BO I get the error:-&lt;/P&gt;&lt;P&gt;"When using SqlDependency without providing an options value, SqlDependency.Start() must be called prior to execution of a command added to the SqlDependency instance"&lt;/P&gt;&lt;P&gt;I have done nothing in SQL Notification Services itself as I have assumed SF handles this for me. Are there any additional steps I have missed in Notification Services itself?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Aaron</description><pubDate>Tue, 29 Apr 2008 16:52:33 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>BeforeSave event not firing in 1.6.6</title><link>http://forum.strataframe.net/Topic16020-6-1.aspx</link><description>I have some code in the beforesave event of one of my business objects.  I've verified the handler is still connected.  When I set a break point and fire a save on this business object, the code in event handler is not firing.  Any ideas?</description><pubDate>Wed, 30 Apr 2008 10:06:27 GMT</pubDate><dc:creator>Randy Jean</dc:creator></item><item><title>Parameters collection for FillByStoredProcedure</title><link>http://forum.strataframe.net/Topic15966-6-1.aspx</link><description>How do I pass multiple parameters to the FillByStoredProcedure method?</description><pubDate>Mon, 28 Apr 2008 16:13:37 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>Updatable Primary Key problem</title><link>http://forum.strataframe.net/Topic15854-6-1.aspx</link><description>I want to set my own value for primary keys but the BO.Save() method doesn't write the primary key back to the database.&lt;/P&gt;&lt;P&gt;For example, I have an Int32 primary key called "CustomerID" and I set the value in SetDefaultValues() and the value is unique. I call BO.Add() which sets the value of CustomerID. I check the value of BO.CustomerID and it is correctly set to a valid value. However, when I do BO.Save() the CustomerID field is not written back to the SQL database (I can see this in SQL Profiler).&lt;/P&gt;&lt;P&gt;I have tried setting PrimaryKeyIsUpdatable to true but I guess I haven't done it correctly as Save() never writes the primary key.&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;Thanks in advance.</description><pubDate>Wed, 23 Apr 2008 18:01:07 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>Using BeforeSave Event in Web Application</title><link>http://forum.strataframe.net/Topic15914-6-1.aspx</link><description>I'm trying to use the before save event in a web application to log changes to the database.  I need to be able to access this from the application base page so I have access to the session and other application settings as well as my application's transaction log table.  It's working, however I get an error when building (which doesn't stop it from working, it's just very annoying at this point) &lt;/P&gt;&lt;P&gt;"Error 104 Method 'Private Sub snpccore_BeforeDelete(e As MicroFour.StrataFrame.Business.BeforeDeleteEventArgs)' cannot handle Event 'Public Event BeforeDelete(e As MicroFour.StrataFrame.Business.BeforeDeleteEventArgs)' because they do not have the same signature. C:\projects\MetSYSDotNet\MetSYSDotNet\App_Code\MetSYSSnapShotBasePage.vb 165 121 C:\...\MetSYSDotNet\"&lt;/P&gt;&lt;P&gt;I get the same error showing in the editor for each line as well.  I'm not sure why it thinks that the signature is not the same since it clearly is since it's clearly working (the event is getting called and it's properly calling the method I've set up with the object reference and such so I can parse and log all the data changes and they are indeed being logged properly). &lt;/P&gt;&lt;P&gt;As I said, the build succeeds, unless there is ANOTHER error, in which case it's really painful to find the real error in all the other stuff.  I'm also getting the same issue with the BeforeDelete event which I'm using the log deletes as well, but I figure it's going to be the same issue.&lt;/P&gt;&lt;P&gt;BTW this is with version 1.6 and upgrading to the latest version isn't a option for a few days as the boss wants to get this version out the door in about 4 days.  Obviously this isn't going to be a stopper since it's working, but if there's an easy fix it's going to make any other troubleshooting easier for me.  I'll be ok with finding out that the latest version woudl make this go away since I'll be moving to it soon, but needed to ask anyways.&lt;BR&gt;</description><pubDate>Sat, 26 Apr 2008 11:20:33 GMT</pubDate><dc:creator>Cyrus Welch</dc:creator></item><item><title>Transaction &amp; IsDirty</title><link>http://forum.strataframe.net/Topic15765-6-1.aspx</link><description>So here is the scenario:&lt;br&gt;&lt;br&gt;I have an inherited BO that generates an "AutoID" value based on other field values.  This ONLY happens when a new record is created.  Now what happens is during the very FIRST save, my BO creates a transaction and saves the record using a temporary value for the AutoID so I can retrieve the PrimaryKey value, and then update the AutoID value with the field values I need and re-save just the AutoID value using a command object. Once this completes the transaction is committed.  (Subsequent saves doe not automatically use a transaction unless I tell it too.) So far, everything works great and I have a happy day continuing on my way.  Now the kicker:&lt;br&gt;&lt;br&gt;In my case I generally open a form, fill just the data I need, make a change, save and close.  When opening the form again (thus refilling the BO) and make a change, save &amp; close everything is fine and dandy, HOWEVER, if I open the form, create a NEW record, save and do NOT close the form, and begin modifying data and save again, my changes are NOT pushed back to the database.  I traced this to the Base BusinessLayer's save event and checking on the IsDirty property which returns FALSE if _IsSavedOnTransaction is set to TRUE which happened because I initially saved the BO in a transaction but do not need to save in a transaction again.&lt;br&gt;&lt;br&gt;My question here would be: Is there some way to reset the BO's _IsSavedOnTransaction property to false without refilling the data?</description><pubDate>Fri, 18 Apr 2008 13:36:58 GMT</pubDate><dc:creator>Crones</dc:creator></item><item><title>FillDataTable affects Business Object property</title><link>http://forum.strataframe.net/Topic15830-6-1.aspx</link><description>In my case,&lt;/P&gt;&lt;P&gt;A Business Object, for example, Group has a property for another Business Object (Company).&lt;/P&gt;&lt;P&gt;I'm accessing as Group.Company. (Property get section initializes and fill the Company object with some rules.)&lt;/P&gt;&lt;P&gt;But I've noticed that, When Group.FillDataTable was executed, Group.Company was also accessed. (In Debug mode, I've not caught this.) Company object was initalized and filled.&lt;/P&gt;&lt;P&gt;This was unexpected condition. Prior to my call as Group.Company, internally it has been done.&lt;/P&gt;&lt;P&gt;I need help.&lt;/P&gt;&lt;P&gt;Thanks.</description><pubDate>Wed, 23 Apr 2008 06:26:20 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>Displaying field from a joined table</title><link>http://forum.strataframe.net/Topic15778-6-1.aspx</link><description>I imagine this concept will be the same whether the sql statement is executed from the front end or the cursor is returned from a stored proc&lt;P&gt;I left joined credit cards to customers ( handling nulls and returning "NO CARD ON FILE") so there is a cardnumber field being returned in the cursor that I get with the stored proc&lt;/P&gt;&lt;P&gt;At debug time in me.customersbo1.currentview I can see the cardnumber column with data.&lt;/P&gt;&lt;P&gt;I looked in BO mapper and there doesn't look to be anyplace there to fake the BO into created a property (probably just as well as I assume it could not be updateable)  Thought a custom field prop would be the way to go but &lt;/P&gt;&lt;P&gt;[codesnippet]&lt;FONT size=2&gt;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' Customer's Credit Card&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&amp;lt;Browsable(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;False&lt;/FONT&gt;&lt;FONT size=2&gt;), _&lt;/P&gt;&lt;P&gt;BusinessFieldDisplayInEditor(), _&lt;/P&gt;&lt;P&gt;Description(&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"Customer's Credit card"&lt;/FONT&gt;&lt;FONT size=2&gt;), _&lt;/P&gt;&lt;P&gt;DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)&amp;gt; _&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ReadOnly&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Property&lt;/FONT&gt;&lt;FONT size=2&gt; [cardnumber]() &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; System.String&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Get&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Return&lt;/FONT&gt;&lt;FONT size=2&gt; cardnumber&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Get&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Property&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Protected&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Overrides&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Function&lt;/FONT&gt;&lt;FONT size=2&gt; GetCustomBindablePropertyDescriptors() &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; MicroFour.StrataFrame.Business.FieldPropertyDescriptor()&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;'-- Create and return a new array of FieldPropertyDescriptor&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;' objects that contains the ReflectionPropertyDescriptor&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;' for the cust_fullname field.&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Return&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;FONT size=2&gt; FieldPropertyDescriptor() { _&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;FONT size=2&gt; ReflectionPropertyDescriptor( _&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"cardnumber"&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;GetType&lt;/FONT&gt;&lt;FONT size=2&gt;(CustomersBO))}&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Function&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;[/codesnippet]&lt;/P&gt;&lt;P&gt;Return Cardnumber gets the error that it must be declared - but I'm not sure what the syntax is to tell it the field will be in the cursor at runtime&lt;/P&gt;&lt;P&gt;( I do realize that if I add a custom prop in this way I will probably need to always be sure it is provided in each data access scenario.  Does that mean I should be creating a view on the back end so the field is present in the definition when the bizobj is mapped?  No problem, if that's the case but wanted to make sure there wasn't another trick I was missing as I might want to display something like this without having to create an updateable view on the back end)&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Charles</description><pubDate>Sun, 20 Apr 2008 14:20:57 GMT</pubDate><dc:creator>Charles R Hankey</dc:creator></item><item><title>BO with two tables?</title><link>http://forum.strataframe.net/Topic15596-6-1.aspx</link><description>I am trying to setup a situation that we use a lot and would want to continue using.&lt;/P&gt;&lt;P&gt;Basically, we often bind an Infragistics Ultragrid to a dataset containing 2 or 3 tables. If I bind to a BO then it looks like I am restricted to only one table as the BO itself can only deal with a single table. Is this correct or have I missed something?&lt;/P&gt;&lt;P&gt;Thanks.</description><pubDate>Mon, 14 Apr 2008 12:14:43 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>How to create a BO for a SQL View</title><link>http://forum.strataframe.net/Topic15781-6-1.aspx</link><description>I would like to create a BO for a SQL View which will be bound to an UltraGrid via a Business Binding Source. So far, I have created all my BOs and configured them through the Database Deployment Toolkit. However, it looks like I can only do this for tables and not views.&lt;/P&gt;&lt;P&gt;I have created a BO manually and inserted the SQL statement to query the view. However, when I add a BBS for the BO and bind it to my UltraGrid, no column information is displayed in the grid. The BO is not passing schema information to the grid at design time.&lt;/P&gt;&lt;P&gt;1. Is there an easier way of creating a BO for a SQL View rather than manually creating the entire BO?&lt;/P&gt;&lt;P&gt;2. How do I tell the BO to give the correct schema information to the UltraGrid at design time?&lt;/P&gt;&lt;P&gt;Thanks in advance.</description><pubDate>Sun, 20 Apr 2008 15:49:57 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>Database Connection Wizard always shows</title><link>http://forum.strataframe.net/Topic15557-6-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I have a simple one BO, one form project on a Vista 64bit system. When I do an F5, the form runs and the Database Connection Wizard appears. I setup the connection and the form loads and throws an error when I attempt to fill the BO.&lt;/P&gt;&lt;P&gt;The error is:-&lt;/P&gt;&lt;P&gt;DataLayerException&lt;BR&gt;  An error occurred while creating a new DataLayer for the business object.&lt;BR&gt;DataLayerException&lt;BR&gt;  The &lt;FONT class=SearchHighlight&gt;DataSourceKey&lt;/FONT&gt; [] is &lt;FONT class=SearchHighlight&gt;not&lt;/FONT&gt; defined.&lt;/P&gt;&lt;P&gt;Each time I do an F5 and run the project, the Database Connection Wizard always displays. From what I have read, it doesn't look like the wizard is saving the connection details as I believe it is supposed to only run the wizard once.&lt;/P&gt;&lt;P&gt;Have I missed something silly?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aaron</description><pubDate>Fri, 11 Apr 2008 17:31:02 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>Customize Wizard error and a request...</title><link>http://forum.strataframe.net/Topic15399-6-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;The Error: ----&lt;/P&gt;&lt;P&gt;This, or something similar, happened in 1.6.0 but I ignored it hoping that 1.6.5 would fix the issue. Given that it remains it may just be a problem in my environment. I have a solution with 50 projects and 150 BO's. When I open the Customize Wizard in the BO Mapper the "Populatin Tree View" message appears but after about 2 minutes is fails with this error:&lt;/P&gt;&lt;P&gt;NullReferenceException&lt;BR&gt;  Object reference not set to an instance of an object.&lt;/P&gt;&lt;P&gt;Source     : MicroFour StrataFrame AddIns&lt;/P&gt;&lt;P&gt;Stack Trace: &lt;BR&gt;   at MicroFour.StrataFrame.AddIns.DTEprojectsBO.FillProjects(String[] ProjectPaths)&lt;BR&gt;   at MicroFour.StrataFrame.AddIns.PartialClassBuilderCustomizeWizard.ᜀ(ᜏ A_0)&lt;BR&gt;   at MicroFour.StrataFrame.AddIns.PartialClassBuilderCustomizeWizard.ᜀ()&lt;BR&gt;   at MicroFour.StrataFrame.AddIns.PartialClassBuilderCustomizeWizard.OnLoad(EventArgs e)&lt;BR&gt;   at System.Windows.Forms.Form.OnCreateControl()&lt;BR&gt;   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)&lt;BR&gt;   at System.Windows.Forms.Control.CreateControl()&lt;BR&gt;   at System.Windows.Forms.Control.WmShowWindow(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.ContainerControl.WndProc(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.Form.WmShowWindow(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.Form.WndProc(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.Control.ControlNative&amp;#119;indow.OnMessage(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.Control.ControlNative&amp;#119;indow.WndProc(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.Native&amp;#119;indow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;BR&gt;   at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)&lt;BR&gt;   at System.Windows.Forms.Control.SetVisibleCore(Boolean value)&lt;BR&gt;   at System.Windows.Forms.Form.SetVisibleCore(Boolean value)&lt;BR&gt;   at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.SetVisibleCore(Boolean value)&lt;BR&gt;   at System.Windows.Forms.Control.set_Visible(Boolean value)&lt;BR&gt;   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)&lt;BR&gt;   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)&lt;BR&gt;   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)&lt;BR&gt;   at System.Windows.Forms.Form.ShowDialog()&lt;BR&gt;   at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜃ()&lt;BR&gt;&lt;/P&gt;&lt;P&gt;Any suggestions about what I can do to fix this?&lt;/P&gt;&lt;P&gt;The suggestion: ----&lt;/P&gt;&lt;P&gt;Return the field list in the BO mapper to the same order as it was in 1.6.0, i.e. database schema order. For me anyway having the field list column in alphabetic sequence is confusing. Why not have it in schema order and let the user click the Name column to sort alphabetically if that's what they want.&lt;/P&gt;&lt;P&gt;Cheers, Peter</description><pubDate>Sat, 05 Apr 2008 18:14:42 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>Backup a Database</title><link>http://forum.strataframe.net/Topic15032-6-1.aspx</link><description>Chaps,&lt;/P&gt;&lt;P&gt;I want to offer my users a backup routine from my application, which may or may not be on the same machine as SQL Server Express. My users are not SQL Server literate and as such I want to protect them from it as much as I can.&lt;/P&gt;&lt;P&gt;I have a routine from a while ago, that allows the application I have written to backup the SQL Server Express database that it uses. This routine was written for an application that ran on the same machine as SQL Server Express.&lt;/P&gt;&lt;P&gt;Is there any routine built into SF, that will undertake backup and possibly restore? If not, can you advise how I get the Microfour.Strataframe.DBEngine.SQL.SQLServerInfo structure populated? It has everything in it that I need to modify my existing application.&lt;/P&gt;&lt;P&gt; Your advice, as always is appreciated.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Geoff Hirst</description><pubDate>Wed, 19 Mar 2008 11:21:38 GMT</pubDate><dc:creator>Geoff Hirst</dc:creator></item><item><title>Transaction Support For DeleteByPrimaryKey</title><link>http://forum.strataframe.net/Topic15519-6-1.aspx</link><description>I need to execute DeleteByPrimaryKey as part of a transaction.&lt;/P&gt;&lt;P&gt;I've seen that Overload method does not exist.&lt;/P&gt;&lt;P&gt;What should I do ? If I use QueryInformation class for delete ,How can I execute this instance of QueryInformation. ?&lt;/P&gt;&lt;P&gt;We know that FillDataTable gets QueryInformation as parameter for fill queries. But What about Delete,update,Insert Queries ?</description><pubDate>Fri, 11 Apr 2008 03:43:19 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>TransactionKey property</title><link>http://forum.strataframe.net/Topic15532-6-1.aspx</link><description>I think this key is used to get DbTransaction object from  Transaction Collection.&lt;/P&gt;&lt;FONT color=#2b91af size=2&gt;&lt;P&gt;(DataBasics&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;.DataSources[""].Transactions).&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Normally, When BusinessLayer.TransactionBegin is called a DbTransaction Object is added to the collection with a default key value. This default transaction will be used.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;When do I need simultaneous transactions ? I mean, When will be more than one transactions in that collection. So I will follow a key.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Fri, 11 Apr 2008 08:39:28 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>Insert Fails on BOs Created From Views</title><link>http://forum.strataframe.net/Topic15476-6-1.aspx</link><description>When we attempt to do an NewRow/Save through a BO that was created based on a VIEW, we get this error&lt;/P&gt;&lt;P&gt;"Cannot create INSERT command because the business object does not contain any PrimaryKeyFields"&lt;/P&gt;&lt;P&gt;I tried to set the PrimaryKey in the BO but that is a read only property.&lt;/P&gt;&lt;P&gt;Is there a way to work around this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Clay</description><pubDate>Wed, 09 Apr 2008 15:28:15 GMT</pubDate><dc:creator>choyt</dc:creator></item><item><title>Built-in FillAll method?</title><link>http://forum.strataframe.net/Topic15508-6-1.aspx</link><description>I am new here so please excuse my ignorance :)&lt;/P&gt;&lt;P&gt;I have been reading through the help file and I thought it would be a benefit to offer a built-in FillAll() population method which simply reads all records into the BO. I can see quite a large no of BOs in our application (i.e. lookup lists, etc.) that would benefit from this. I know I can add my own FillAll() to each BO but, as I am lazy, it would be nice if it was built-in :)&lt;/P&gt;&lt;P&gt;Is there a reason why you have decided not to implement it?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aaron</description><pubDate>Thu, 10 Apr 2008 15:58:00 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>Restrict access for BusinessLayer Object properties and Methods</title><link>http://forum.strataframe.net/Topic15462-6-1.aspx</link><description>I have an Business Base class that is inhereted from BusinessLayer. I want to restrict some of them and not to see when dealing with my Business Base.&lt;/P&gt;&lt;P&gt;I have overriden some methods then made private. But It does not work. Because I ve got "virtual and abstract methods can not be private."message. &lt;/P&gt;&lt;P&gt;What is the best way ?</description><pubDate>Wed, 09 Apr 2008 06:20:03 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>Business Binding Source DataSource Property</title><link>http://forum.strataframe.net/Topic15374-6-1.aspx</link><description>Standart Binding Source component has Datasource property. This is used to give a type for the control like a grid in design time. Then, At runtime an instance (Datatable) is binded to a control.&lt;/P&gt;&lt;P&gt;We are using Business Binding Source to bind an object to Devexpress Grid. &lt;/P&gt;&lt;P&gt;In my case, I have an instance object (Companies). But I have to drop that type of object on the form for informing the Devexpress grid. At Design time, I can easily manage the columns etc.&lt;/P&gt;&lt;P&gt;Is there any way to accomplish this without dropping Business Object on the form?</description><pubDate>Fri, 04 Apr 2008 06:43:25 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>How to use BOs from Win project within a Web project</title><link>http://forum.strataframe.net/Topic15402-6-1.aspx</link><description>Hi,&lt;P&gt;I've been working on a SF Windows project and would now like to build my first SF Web project that uses the same business objects.  I've read the SF Tutorial several times but cannot quite get it to work.&lt;/P&gt;&lt;P&gt;First, can I leave the BO's within the Win solution, or do I need to pull them out as a separate BO library?  I'd prefer to just leave them in the Win project and manage them there.  If this is possible, how do I reference them from the Web project?&lt;/P&gt;&lt;P&gt;On the assumption that I need to pull them out as a separate BO Library (like the Tutorial), I tried this before posting this question.  When I go to add a reference to the new BOL from either the Win or Web solutions, the Add Reference / Project folder is empty (unlike the Tutorial!).  &lt;/P&gt;&lt;P&gt;So I'm stuck at step one of my first SF Web project and must be missing something basic.  &lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;Larry</description><pubDate>Sun, 06 Apr 2008 10:49:36 GMT</pubDate><dc:creator>Larry Tucker</dc:creator></item><item><title>Access AutoNumber Insert</title><link>http://forum.strataframe.net/Topic15372-6-1.aspx</link><description>Ok... I'm having a major brainfart here... I could've sworn I saw a posting somewhere here talking about retrieving AutoNumber fields from an Access DB after an insert awhile back....&lt;br&gt;&lt;br&gt;Anyways, how to I get the new AutoNumber value after adding (and saving) a BO?  It keeps returning -1 on me...&lt;br&gt;&lt;br&gt;Do I have to resort to executing a "SELECT @@IDENTITY" command to retrieve it?</description><pubDate>Fri, 04 Apr 2008 00:11:24 GMT</pubDate><dc:creator>Crones</dc:creator></item><item><title>ParentForm and ParentContainer</title><link>http://forum.strataframe.net/Topic15314-6-1.aspx</link><description>I want to use ParentForm property for the businessObjects that is initiated in the code (i.e not dropped on the form) &lt;/P&gt;&lt;P&gt;Currently, This type of objects has null value for the property. I've seen the other constructor (with parameter Icontainer) was working. But I couldn't understand When these properties were set. I may follow the same way. &lt;/P&gt;&lt;P&gt;How can I achieve this ?</description><pubDate>Wed, 02 Apr 2008 08:22:03 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>Design Time problem with Complex Business Object</title><link>http://forum.strataframe.net/Topic15311-6-1.aspx</link><description>I have an complex Business Object called Companies with a property called rGroups. "rGroups" is also a business object. When I dropped complex Business Object on the form , I 've got the error msg in attached file.</description><pubDate>Wed, 02 Apr 2008 03:33:30 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>New Bee .. Help Setting Up</title><link>http://forum.strataframe.net/Topic15175-6-1.aspx</link><description>Hi All,&lt;/P&gt;&lt;P&gt;I am trying to set up my first Webforms Demo.  I am using c# ASP.NET and hope to use the Developer Express Control Set ... after I get going.&lt;/P&gt;&lt;P&gt;Questions&lt;/P&gt;&lt;P&gt;1)  Is there a c# help file ? I have looked around .. I heard about it in the forum but I can't find it?  I am finding it very difficult to read the help instructions in VB.NET then implement them in C#.&lt;/P&gt;&lt;P&gt;2)  I have been unsuccesessful trying to set up the 1 included Web Application Sample .. (Error post Submitted) ...Does anyone have a couple of very simple c# Web Examples ... simple examples say a data grid or simple form and/or parent-child form set-up so I can see how this is done.&lt;/P&gt;&lt;P&gt;3)  When building a web form can you mix Strata controls with Standard VS controls ?  What do you need to consider when choosing between Strata controls and VS 2005 controls.  Will I have to wrap the VS 2005 controls?  Can I use GridView, FormView and Breadcrumbs controls ... In a Strataform Application ?&lt;/P&gt;&lt;P&gt;Thanks In Advance &lt;/P&gt;&lt;P&gt;This will help me get going I have been going round in circles&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;jd</description><pubDate>Wed, 26 Mar 2008 04:35:59 GMT</pubDate><dc:creator>John Davies</dc:creator></item><item><title>Childformdialog and BOTranslations</title><link>http://forum.strataframe.net/Topic15304-6-1.aspx</link><description>Evening Chaps,&lt;/P&gt;&lt;P&gt;If I have a CFD, with a WIDGET business object that is then translated from ParentX to ChildY, when the WIDGET is used on ChildY, should I expect to have the currentrowindex in the same place on the child as it was on the parent?&lt;/P&gt;&lt;P&gt;If it should, It's not and I could do with any ideas as to what I might be doing wrong. If it shouldn't then great, it's working like it should and my workarounds can stay where they are.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Geoff.</description><pubDate>Tue, 01 Apr 2008 13:53:58 GMT</pubDate><dc:creator>Geoff Hirst</dc:creator></item><item><title>Two business objects on one form</title><link>http://forum.strataframe.net/Topic15272-6-1.aspx</link><description>If I have a form with a primary business object that drives the form in terms of the navigation tool bar. There is a secondary table (second business object) with a one to one relationship of data that the user wants to see at the same time on the form. Naturally when they click on EDIT they want to be able to modify data from both business objects then click on SAVE. &lt;/P&gt;&lt;P&gt;It appears as though I would need to manually enable/disable the secondary business object columns displayed as well as call the SAVE or UNDO methods for the second business object. Do you have a sample that demonstrates this, or could you point me in a direction?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ross</description><pubDate>Tue, 01 Apr 2008 09:02:09 GMT</pubDate><dc:creator>Ross L. Rooker, Sr.</dc:creator></item></channel></rss>