<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: LightSpeed 2.2 released</title>
	<atom:link href="http://www.mindscapehq.com/blog/index.php/2009/02/02/lightspeed-22-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mindscapehq.com/blog/index.php/2009/02/02/lightspeed-22-released/</link>
	<description>The official blog of Mindscape</description>
	<lastBuildDate>Tue, 07 Feb 2012 19:49:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Richard Weaver</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/02/02/lightspeed-22-released/comment-page-1/#comment-29108</link>
		<dc:creator>Richard Weaver</dc:creator>
		<pubDate>Tue, 10 Feb 2009 18:31:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=482#comment-29108</guid>
		<description>A useful set of new features in 2.2, good work!

I&#039;d like to be see the WCF data contract stuff extended to produce POCOs outside the WCF environment. This would be great for MVC apps where passing such a rich entity to the view layer is not ideal.</description>
		<content:encoded><![CDATA[<p>A useful set of new features in 2.2, good work!</p>
<p>I&#8217;d like to be see the WCF data contract stuff extended to produce POCOs outside the WCF environment. This would be great for MVC apps where passing such a rich entity to the view layer is not ideal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Visual Studio Links #106 : Visual Studio Hacks</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/02/02/lightspeed-22-released/comment-page-1/#comment-29005</link>
		<dc:creator>Visual Studio Links #106 : Visual Studio Hacks</dc:creator>
		<pubDate>Fri, 06 Feb 2009 13:02:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=482#comment-29005</guid>
		<description>[...] has released LightSpeed 2.2.&#160; The product is an ORM for .NET that has nice integration with Visual [...]</description>
		<content:encoded><![CDATA[<p>[...] has released LightSpeed 2.2.&nbsp; The product is an ORM for .NET that has nice integration with Visual [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Webio</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/02/02/lightspeed-22-released/comment-page-1/#comment-28930</link>
		<dc:creator>Webio</dc:creator>
		<pubDate>Wed, 04 Feb 2009 00:19:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=482#comment-28930</guid>
		<description>Regarding &quot;To get at this screen, just right click the design surface and choose Get Started.&quot;

I&#039;ve just tryed to find &quot;Get started&quot; by pressing right mouse button in model designer but there is only Arrange and Properties.

EDIT: I&#039;ve just found solution for my issue before posting this comment. &quot;Get started&quot; option is not available when Designer is empty.</description>
		<content:encoded><![CDATA[<p>Regarding &#8220;To get at this screen, just right click the design surface and choose Get Started.&#8221;</p>
<p>I&#8217;ve just tryed to find &#8220;Get started&#8221; by pressing right mouse button in model designer but there is only Arrange and Properties.</p>
<p>EDIT: I&#8217;ve just found solution for my issue before posting this comment. &#8220;Get started&#8221; option is not available when Designer is empty.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Towlson</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/02/02/lightspeed-22-released/comment-page-1/#comment-28922</link>
		<dc:creator>Ivan Towlson</dc:creator>
		<pubDate>Tue, 03 Feb 2009 20:00:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=482#comment-28922</guid>
		<description>Hello nefajciar,

Yes, you could use a stored procedure to get composite CustomerInfo entities and work with them in the normal LightSpeed way.  However, there are certain limitations in this case, as you hint in your comment.

- You cannot combine your own query clauses with a stored procedure.  Therefore, although you use LINQ against a sproc call (e.g. &quot;from ci in uow.GetCustomerInfos() where ci.CustomerName == ...&quot;), it will *not* be executed on the database like normal LINQ queries: instead, the sproc will be executed normally, all data returned by the sproc will be returned from the database, and the LINQ query will execute client-side against the IList&lt;CustomerInfo&gt; (using LINQ to Objects).

- As JD says, stored procedures are currently select-only.  Therefore you cannot insert, update or delete composite entities: SaveChanges will attempt to save them back to a table, which of course does not exist.  (To be clear, LightSpeed itself has no notion of &quot;composite entities&quot; -- it doesn&#039;t know whether the entities you are loading through a sproc are normal table rows, which *are* saveable, or not -- so it can&#039;t be &quot;smart&quot; about this: all it can do is try to save the entities and report the failure when it happens.)  I&#039;m hoping that we&#039;ll be able to address this limitation in 3.0, but we have a lot of features on the table for 3.0 and we can make no promises!

Regarding profiling, as JD says, if you have ideas and suggestions above and beyond what&#039;s currently available, let us know: now is a great time because we&#039;re starting to think about 3.0.  (We&#039;d suggest posting in the forums rather than in blog comments because that makes it easier for other users to see what&#039;s being suggested and to throw in their own ideas and feedback.)</description>
		<content:encoded><![CDATA[<p>Hello nefajciar,</p>
<p>Yes, you could use a stored procedure to get composite CustomerInfo entities and work with them in the normal LightSpeed way.  However, there are certain limitations in this case, as you hint in your comment.</p>
<p>- You cannot combine your own query clauses with a stored procedure.  Therefore, although you use LINQ against a sproc call (e.g. &#8220;from ci in uow.GetCustomerInfos() where ci.CustomerName == &#8230;&#8221;), it will *not* be executed on the database like normal LINQ queries: instead, the sproc will be executed normally, all data returned by the sproc will be returned from the database, and the LINQ query will execute client-side against the IList<customerinfo> (using LINQ to Objects).</p>
<p>- As JD says, stored procedures are currently select-only.  Therefore you cannot insert, update or delete composite entities: SaveChanges will attempt to save them back to a table, which of course does not exist.  (To be clear, LightSpeed itself has no notion of &#8220;composite entities&#8221; &#8212; it doesn&#8217;t know whether the entities you are loading through a sproc are normal table rows, which *are* saveable, or not &#8212; so it can&#8217;t be &#8220;smart&#8221; about this: all it can do is try to save the entities and report the failure when it happens.)  I&#8217;m hoping that we&#8217;ll be able to address this limitation in 3.0, but we have a lot of features on the table for 3.0 and we can make no promises!</p>
<p>Regarding profiling, as JD says, if you have ideas and suggestions above and beyond what&#8217;s currently available, let us know: now is a great time because we&#8217;re starting to think about 3.0.  (We&#8217;d suggest posting in the forums rather than in blog comments because that makes it easier for other users to see what&#8217;s being suggested and to throw in their own ideas and feedback.)</customerinfo></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John-Daniel Trask</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/02/02/lightspeed-22-released/comment-page-1/#comment-28921</link>
		<dc:creator>John-Daniel Trask</dc:creator>
		<pubDate>Tue, 03 Feb 2009 19:55:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=482#comment-28921</guid>
		<description>@John Thanks! 

@nefajciar If you drag on a stored procedure that is a projection (either of part of a table, or in the case you highlight, two tables) the designer will generate an entity for you that contains all the required properties. There is no provision currently for then transparently managing the saving of that entity back into both tables. This is a first version implementation of our stored procedures capability. You got it right with &quot;I understand that you can’t completely map stored procedures capabilities&quot; but we&#039;re always happy to hear feature requests! I&#039;ll leave Ivan answer the LINQ point.

Missing the profiler? You can get SQL dumps of what&#039;s going on by enabling logging. There is an example of this in the eager load screencast. Let me know if you had other ideas about profiling.

@Nick Thanks for your feedback. I&#039;ve fixed the issue with the store - I had updated the installers but missed updating the label of the version. Check it out now. Thanks for the positive comments :-)</description>
		<content:encoded><![CDATA[<p>@John Thanks! </p>
<p>@nefajciar If you drag on a stored procedure that is a projection (either of part of a table, or in the case you highlight, two tables) the designer will generate an entity for you that contains all the required properties. There is no provision currently for then transparently managing the saving of that entity back into both tables. This is a first version implementation of our stored procedures capability. You got it right with &#8220;I understand that you can’t completely map stored procedures capabilities&#8221; but we&#8217;re always happy to hear feature requests! I&#8217;ll leave Ivan answer the LINQ point.</p>
<p>Missing the profiler? You can get SQL dumps of what&#8217;s going on by enabling logging. There is an example of this in the eager load screencast. Let me know if you had other ideas about profiling.</p>
<p>@Nick Thanks for your feedback. I&#8217;ve fixed the issue with the store &#8211; I had updated the installers but missed updating the label of the version. Check it out now. Thanks for the positive comments :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/02/02/lightspeed-22-released/comment-page-1/#comment-28896</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Tue, 03 Feb 2009 10:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=482#comment-28896</guid>
		<description>Great work. For those of you with a license the customer download link still states &#039;Lightspeed 2.1 (9Mb)&#039; however when you follow the link you will get the 2.2 goodness, go and download your new version today :-)
Can&#039;t wait to build the next site with such an easy to use, well documented, product.</description>
		<content:encoded><![CDATA[<p>Great work. For those of you with a license the customer download link still states &#8216;Lightspeed 2.1 (9Mb)&#8217; however when you follow the link you will get the 2.2 goodness, go and download your new version today :-)<br />
Can&#8217;t wait to build the next site with such an easy to use, well documented, product.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nefajciar</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/02/02/lightspeed-22-released/comment-page-1/#comment-28895</link>
		<dc:creator>nefajciar</dc:creator>
		<pubDate>Tue, 03 Feb 2009 08:53:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=482#comment-28895</guid>
		<description>Finally! :)

Good work guys, and very &quot;fast&quot; release, a great fresh start of the New Year. I have 1 question regarding stored procedures though...

You have mentioned that with stored procedures we are able to &quot;create composite entities&quot;, does it mean that if I have table &quot;Customers&quot; and &quot;Customer_Details&quot; and I require an entity that is composed of these two tables, that I am able (via stored procedure and LS) to get an entity of some type (say CustomerInfo) and work with the entity in the normal LS way?

Will there be LINQ support? What about Update/Delete operations on the CustomerInfo entity type? Will it transparently &quot;hit&quot; both tables?
Or is this &quot;procedural&quot; type somewhat limited in what it can do?

Thanks for answers, I understand that you can&#039;t completely map stored procedures capabilities (which are absolutely unlimited in some databases) to a fully working object model...

And many thanks for Lightspeed 2.2, the only thing we miss now is profiler :))</description>
		<content:encoded><![CDATA[<p>Finally! :)</p>
<p>Good work guys, and very &#8220;fast&#8221; release, a great fresh start of the New Year. I have 1 question regarding stored procedures though&#8230;</p>
<p>You have mentioned that with stored procedures we are able to &#8220;create composite entities&#8221;, does it mean that if I have table &#8220;Customers&#8221; and &#8220;Customer_Details&#8221; and I require an entity that is composed of these two tables, that I am able (via stored procedure and LS) to get an entity of some type (say CustomerInfo) and work with the entity in the normal LS way?</p>
<p>Will there be LINQ support? What about Update/Delete operations on the CustomerInfo entity type? Will it transparently &#8220;hit&#8221; both tables?<br />
Or is this &#8220;procedural&#8221; type somewhat limited in what it can do?</p>
<p>Thanks for answers, I understand that you can&#8217;t completely map stored procedures capabilities (which are absolutely unlimited in some databases) to a fully working object model&#8230;</p>
<p>And many thanks for Lightspeed 2.2, the only thing we miss now is profiler :))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Rusk</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/02/02/lightspeed-22-released/comment-page-1/#comment-28894</link>
		<dc:creator>John Rusk</dc:creator>
		<pubDate>Tue, 03 Feb 2009 08:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=482#comment-28894</guid>
		<description>The Views feature looks really nice!</description>
		<content:encoded><![CDATA[<p>The Views feature looks really nice!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic (Requested URI is rejected)
Database Caching 4/17 queries in 0.076 seconds using disk: basic
Content Delivery Network via cdn.mindscapehq.com

Served from: www.mindscapehq.com @ 2012-02-08 01:54:07 -->
