<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Remote Service Method Call (RSMC) Methods</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Remote Service Method Call (RSMC) Methods</description>
  <pubDate>Tue, 14 Apr 2026 16:47:01 -700</pubDate>
  <lastBuildDate>Wed, 06 Oct 2010 01:29:08 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2199</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Remote Service Method Call (RSMC) Methods : Hi Sbelini,   Thank you </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2199&amp;PID=8721#8721</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=961" rel="nofollow">joão</a><br /><strong>Subject:</strong> 2199<br /><strong>Posted:</strong> 06-Oct-2010 at 1:29am<br /><br /><DIV>Hi Sbelini,</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Thank you </DIV>]]>
   </description>
   <pubDate>Wed, 06 Oct 2010 01:29:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2199&amp;PID=8721#8721</guid>
  </item> 
  <item>
   <title>Remote Service Method Call (RSMC) Methods : Hi Joao,   You are returning...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2199&amp;PID=8681#8681</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 2199<br /><strong>Posted:</strong> 30-Sep-2010 at 4:24pm<br /><br />Hi Joao, <DIV>&nbsp;</DIV><DIV>You are returning an object of SaveResult. SaveResult is not serializable, therefore you can't send it over the wire.</DIV><DIV>Trying to do so will cause a CommunicationException and we do a retry upon this exception.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 30 Sep 2010 16:24:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2199&amp;PID=8681#8681</guid>
  </item> 
  <item>
   <title>Remote Service Method Call (RSMC) Methods :    Hieverybody I want to write...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2199&amp;PID=8655#8655</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=961" rel="nofollow">joão</a><br /><strong>Subject:</strong> 2199<br /><strong>Posted:</strong> 28-Sep-2010 at 7:59am<br /><br /><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-ansi-: EN-US; mso-bidi-font-size: 9.5pt" lang=EN-US><DIV><DIV><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-ansi-: EN-US; mso-bidi-font-size: 9.5pt" lang=EN-US><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0.75pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>Hi&nbsp;everybody<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>&nbsp;<BR>I want to write a method to run in the server to generate, in batch, a set of entities from a "given base entity" as Pattern.<BR>Basically i Have a given entity an through a cycle i create a set o new entities changing the key field.<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>From the client side I invoke the server method passing the “pattern entity”, de first number, last number and de Step.<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>the server creates new entities, adds them to the entimanager and calls the Savechanges method.<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>It Works well(the new entities are created in my sql server database), but , I <o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><o:p>&nbsp;</o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>don’t know why the server method is called twice!!!<BR>The SilverLight only calls it once!!!<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><BR>Any tips would be apreciated<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>Thanks in advance<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>&nbsp;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>&nbsp;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US>//--. Silver light&nbsp; Side </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US>&nbsp;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>private void DoConfirmCommand(object iView)<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 10.0pt">{<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 35.4pt; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 9.5pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT">Alojamento </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 10.0pt">_alojamento;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 35.4pt; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 10.0pt">_alojamento = </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 9.5pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT">Alojamento.</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 10.0pt">Create(0);<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 2.9pt 10pt 38.3pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>_mgr.AddEntity(_alojamento);<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 34pt; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>string typeName = </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #a31515; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>"Alojamentos.Models.RemoteServiceMethods, AlojamentosWeb"</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 34pt; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>string methodName = </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #a31515; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>"GenerateAlojamentos"</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 34pt; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>Guid myInvokeGuid = System.Guid.NewGuid();<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 2.9pt 10pt 36.9pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>DoAsyncAction(() =&gt; { _mgr.InvokeServerMethodAsync(typeName, methodName, GotData, myInvokeGuid, _alojamento, InicialRecord, FinalRecord, Step); });<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>}<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'MS Mincho'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-family: 'MS Mincho'; mso-bidi-font-size: 10.0pt">　</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US><o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>protected void DoAsyncAction(Action a)<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>{<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 34pt; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>a();<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>}<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'MS Mincho'; COLOR: blue; FONT-SIZE: 9pt; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-family: 'MS Mincho'; mso-bidi-font-size: 10.0pt">　</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US><o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>void GotData(InvokeServerMethodOperation e)<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>{ <o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 34pt; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>if (!e.Cancelled) <o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 2.9pt 10pt 36.9pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>{<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 34pt; MARGIN: 0cm 2.9pt 10pt 36.9pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>bool gerou = (bool)e.Result;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 2.9pt 10pt 36.9pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>}<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 2.9pt 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 10.0pt" lang=EN-US>}<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>&nbsp;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>// ---- Server Side Method -------------------------<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>&nbsp;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>using</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> System;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>using</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> System.Linq;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>using</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> IbEm = IdeaBlade.EntityModel;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>using</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> IdeaBlade.Core;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>using</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> IdeaBlade.EntityModel;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>using</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> System.Security.Principal;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>using</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> System.Collections.Generic;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: black; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US><o:p>&nbsp;</o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US>&nbsp;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US>&nbsp;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>namespace</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> Alojamentos.Models<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>{<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US>public</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US> </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US>class</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US> </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US>RemoteServiceMethods</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US><o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>{<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><o:p>&nbsp;</o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&#091;</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>AllowRpc</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>&#093;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>public</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>static</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>Object</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> GenerateaAlojamentos(</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>IPrincipal</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> principal, </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>EntityManager</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> mgr, </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>params</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>Object</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>&#091;&#093; args)<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>{<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: green; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>// Cast EntityManager to its more specialized type for this app<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt">EntidadesAlojamentos</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt"> DomainMgr = (</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt">EntidadesAlojamentos</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt">)mgr;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt">Alojamento</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt"> alojamento = args&#091;0&#093; </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt">as</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt"> </SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt">Alojamento</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt">;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>for</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> (</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>int</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US> i = (</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>int</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>)args&#091;1&#093;; i &lt;= (</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>int</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>)args&#091;2&#093;; i += (</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>int</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>)args&#091;3&#093;)<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt">{<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt">Alojamento</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt"> newaloj = (</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt">Alojamento</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt">)((</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt">ICloneable</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt">)alojamento).Clone();<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: PT; mso-bidi-font-size: 9.5pt"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US>newaloj.intNumero = i;<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>DomainMgr.AddEntity(newaloj);<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><B><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #cc0066; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;</SPAN></SPAN></B><B><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #ff0033; FONT-SIZE: 13.5pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;</SPAN></SPAN></B><B><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #2b91af; FONT-SIZE: 13.5pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US>SaveResult</SPAN></B><B><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #ff0033; FONT-SIZE: 13.5pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US> result = DomainMgr.SaveChanges();</SPAN></B><B><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: #ff0033; FONT-SIZE: 13.5pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US><o:p></o:p></SPAN></B></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: #cc0066; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: blue; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US>return</SPAN><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US> result;</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: black; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US><o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT; mso-bidi-font-size: 9.5pt" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 1.5pt 0.75pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: C&#111;nsolas; COLOR: black; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: PT" lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>}</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: black; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: PT" lang=EN><o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal" =Ms&#111;normalCxSpMiddle><SPAN style="FONT-SIZE: 12pt; mso-ansi-: EN-US; mso-bidi-font-size: 11.0pt" lang=EN-US><o:p><FONT color=#000000 face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P></SPAN></SPAN></SPAN></DIV></DIV>]]>
   </description>
   <pubDate>Tue, 28 Sep 2010 07:59:11 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2199&amp;PID=8655#8655</guid>
  </item> 
 </channel>
</rss>