<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.ormfoundation.org/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Developers</title><link>http://www.ormfoundation.org/forums/35.aspx</link><description>For discussing development aspects of the NORMA tool. This includes developer requirements and C# and  XML structures.   </description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Re: WCF service generated by LinqToSqlAttributeMapping does not work</title><link>http://www.ormfoundation.org/forums/thread/1283.aspx</link><pubDate>Thu, 18 Sep 2008 14:40:58 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1283</guid><dc:creator>jbailey</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1283.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=35&amp;PostID=1283</wfw:commentRss><description>&lt;p&gt;Actually, the original syntax is correct.&amp;nbsp; It defines the attribute with a default of true.&amp;nbsp; It does a test to see if the setting is present, and sets the result of a test to see if it was set to true.&amp;nbsp; If the setting was present and set&amp;nbsp;to false (or anything other than true or 1), the &amp;quot;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;$setting=&amp;#39;true&amp;#39; or $setting=&amp;#39;1&amp;#39;&amp;quot;&amp;nbsp;&lt;font color="#000000"&gt; test will return false.&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;The issue is actually later in the XSLT where it is testing the resulting value.&amp;nbsp; This test is done as if the variable were a boolean.&amp;nbsp; Since it is a string, you actually have to test to see if it is true (&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;$UseTransactionScopes=&amp;#39;true&amp;#39;)&amp;nbsp;&lt;font color="#000000"&gt; rather than just use the variable.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;I added parameters for OptimizeOperationalMethods and&amp;nbsp;UseTransactionFlow.&amp;nbsp; TransactionFlow is determining whether the client transaction flows to the method whereas TransactionScope determines if the method is done in the context of a transaction.&amp;nbsp; Even if you are not using the client transaction you may want to use transactions, so I thought it was prudent to separate the two.&amp;nbsp; The OptimizeOperationalMethods works as discussed.&amp;nbsp; Also, if OptimizeOperationalMethods is set transaction flow is turned off regardless of the setting.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;You can&amp;#39;t attach files here, but I uploaded the updated xslt to the library.&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: WCF service generated by LinqToSqlAttributeMapping does not work</title><link>http://www.ormfoundation.org/forums/thread/1281.aspx</link><pubDate>Thu, 18 Sep 2008 11:54:43 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1281</guid><dc:creator>jbailey</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1281.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=35&amp;PostID=1281</wfw:commentRss><description>&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;I’ll make the changes.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Actually I will also remove the IsOneWay=true specification for the contract.&lt;/span&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;The server side code actually seems to work perfectly if you set the transaction scope in the contract or change the IsOneWay to false.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;The idea here is to allow a transaction to be transferred from the client to the service.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;If the code is executed from a workflow for example, you might be committing several calls within a single transaction.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Without it you can still use server transactions.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;&amp;nbsp;&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;The following blog entry gives a good description of when to use the IsOneWay=true setting.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Typically it is to optimize in cases where success notification (or rather exceptions) are not something you are concerned about.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;If you have IsOneWay=true, the connection is disengaged immediately after the call, thus any exceptions that occur will not be propagated back to the client.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;This should be used very sparingly.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Even if the return type of the method is void, you can still have the IsOneWay=false so that exceptions can be propagated back to the client.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; This is also why transactions cannot be flowed to these methods, as any transaction rollback cannot be indicated back to the client.&amp;nbsp; &lt;/span&gt;It looks like it was assumed that any void method should be one way, which is not the case.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;It would probably be good to include a&amp;nbsp;OptimizeOperationalMethods attribute that would indicate whether the&amp;nbsp;IsOneWay should be set to true, but the default should be false.&amp;nbsp; Even when doing a one way contract, I will set the&amp;nbsp;IsOneWay to false during debugging, but if I&amp;nbsp;truly needed them optimized, it would be nice to have the option.&amp;nbsp; If I were importing in batch for example, I would probably rather log issues and do each as a separate transaction (or no transaction at all) rather than send errors back to the client.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;-John&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: WCF service generated by LinqToSqlAttributeMapping does not work</title><link>http://www.ormfoundation.org/forums/thread/1280.aspx</link><pubDate>Thu, 18 Sep 2008 02:06:07 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1280</guid><dc:creator>Matthew Curland</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1280.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=35&amp;PostID=1280</wfw:commentRss><description>&lt;p&gt;Geez (directed at myself, not you), the XSLT to read the two boolean settings (there are only two of them) is garbage. If the attributes have any value then they will always be true.&lt;/p&gt;
&lt;p&gt;You&amp;#39;ll need to change the default in the XSLT.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;C:\Program Files\Common Files\Neumont\ORM\Transforms\LinqToSql\DcilToLinqAttributeMapping.xslt&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Look for @UseTransactionScopes in the file&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;6 lines later you&amp;#39;ll see a true(). Change it to false()&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Remove the attribute you added before from the settings file&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Apologies on this, the service layer code is incomplete and should have been turned off.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not a WCF expert by any stretch, but it sounds like you are. Any suggestions on things you think we should change would be much appreciated.&lt;/p&gt;
&lt;p&gt;-Matt&lt;/p&gt;</description></item><item><title>Re: WCF service generated by LinqToSqlAttributeMapping does not work</title><link>http://www.ormfoundation.org/forums/thread/1279.aspx</link><pubDate>Thu, 18 Sep 2008 01:29:36 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1279</guid><dc:creator>jbailey</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1279.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=35&amp;PostID=1279</wfw:commentRss><description>&lt;p&gt;I tried this, but it does not appear to have any effect.&amp;nbsp; The same code is produced.&amp;nbsp; The top portion of the file is as follows;&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;ConnectionString&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;DataSource&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;devtablet&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;SettingsProperty&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;DatabaseName&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;MyDb&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; /&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;/font&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;Change basic name generation settings&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;--&amp;gt;&lt;br /&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;NameParts&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; /&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;/font&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;Change WCF name generation settings&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;--&amp;gt;&lt;br /&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;ServiceLayer&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;UseTransactionScopes&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;#39;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;false&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;#39;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; /&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;
&lt;p&gt;Ideally, you wouldn&amp;#39;t want the transaction scope to be changed, as it is preferable to use a transaction when conducting insert and update operations.&amp;nbsp; Instead the operations should not be implemented as one way.&amp;nbsp; Normally I would return a success indicator back to the application and specify IsOneWay=false on these operations.&lt;/p&gt;
&lt;p&gt;-John&lt;/p&gt;</description></item><item><title>Re: WCF service generated by LinqToSqlAttributeMapping does not work</title><link>http://www.ormfoundation.org/forums/thread/1277.aspx</link><pubDate>Thu, 18 Sep 2008 00:42:41 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1277</guid><dc:creator>Matthew Curland</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1277.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=35&amp;PostID=1277</wfw:commentRss><description>&lt;p&gt;Temporary workaround, I&amp;#39;ve asked Jaron (you designed this transform) to comment as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the meantime, it looks like the UseTransactionScopes option is not in the settings schema file or fully implemented in the transform. Add the UseTransactionScopes=&amp;#39;false&amp;#39; option to the ServiceLayer element in the settings file, then save, right click the .orm file, and choose &amp;#39;Run Custom Tool&amp;#39; to force the file to regenerate.&lt;/p&gt;
&lt;p&gt;-Matt&lt;/p&gt;</description></item><item><title>WCF service generated by LinqToSqlAttributeMapping does not work</title><link>http://www.ormfoundation.org/forums/thread/1274.aspx</link><pubDate>Wed, 17 Sep 2008 23:07:05 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1274</guid><dc:creator>jbailey</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1274.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=35&amp;PostID=1274</wfw:commentRss><description>I&amp;#39;ve been using nORMa and I&amp;#39;ve been very happy with the tool and its SQL script generation.&amp;nbsp; I was excited to see that it generated a WCF service to generate Linq to SQL, but I was disappointed that the service does not function.&amp;nbsp;&amp;nbsp;The contract being generated is incorrect.&amp;nbsp; Example is below:&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; 
&lt;p&gt;#region&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; Insert, Select, Update, and Delete Operations for Customer&lt;br /&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;OperationContract&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(IsOneWay=&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)]&lt;br /&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;TransactionFlow&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;TransactionFlowOption&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Allowed)]&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; InsertCustomer(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Customer&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; customerToInsert);&lt;br /&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;OperationContract&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(IsOneWay=&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;false&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)]&lt;br /&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Customer&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; SelectCustomerByCompanyName(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;String&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; companyName);&lt;br /&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;OperationContract&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(IsOneWay=&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;false&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)]&lt;br /&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Customer&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; SelectCustomerByPreferredIdentifier(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Int32&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; customerId);&lt;br /&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;OperationContract&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(IsOneWay=&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)]&lt;br /&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;TransactionFlow&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;TransactionFlowOption&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Allowed)]&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; UpdateCustomer(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Customer&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; newCustomer, &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Customer&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; oldCustomer);&lt;br /&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;OperationContract&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(IsOneWay=&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)]&lt;br /&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;TransactionFlow&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;TransactionFlowOption&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Allowed)]&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; DeleteCustomer(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Customer&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; customerToDelete);&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;#endregion&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;// Insert, Select, Update, and Delete Operations for Customer&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#000000" size="3"&gt;This contract is not correct.&amp;nbsp; The only allowed TransactionFlow option with a one way contract is TransactionFlowOption.NotAllowed.&amp;nbsp; I&amp;#39;m not sure if there is a configuration option to correct this or if it is a problem with the code.&amp;nbsp; Any assistance would be appreciated.&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item></channel></rss>