groknroll
Thu Oct 11 06:01:01 PDT 2007
Thank you... that makes sense.
"James Crosswell" wrote:
> groknroll wrote:
> > I'm looking for an example / guidelines for leveraging LINQ to SQL in an
> > N-Tier environment. Specifically I'm looking for an example where there is a
> > presentation layer, an application layer, and a database. There are plenty
> > of examples showing how to create LINQ objects and then connect them as
> > datasources directly to web controls that consume datasources. I"m looking
> > for a way to create the LINQ objects on the application server and then
> > propagate them to the web server to have them consumed as datasources there.
>
> If you've already got your linq objects, with all their properties set,
> then you just need to return these objects to the client (using Remoting
> or WCF or whatever). So you just take the linq examples you already have
> an use them in the application server in the methods that are used to
> fetch/update/insert/delete the persistent instances of these objects in
> the underlying datasource (MSSQL Server).... what goes on between the
> client and server has nothing to do with linq though, so the fact that
> you're programming n-tier really doesn't matter.
>
> Best Regards,
>
> James Crosswell
> Microforge.net LLC
>
http://www.microforge.net
>