1-10 of 31 < Previous Next >
Discussions for An Example of a Multi Tier Architecture for Linq to Sql
Latest post:
Wed
4:27 PM
1 Post
First post: tintin5 wrote: What is the fastest way to get a scalar value I am wondering about the most efficient way to get back 1 non key value from an entity. Things I would consider are 1. pre compiled queri...
Jump to: First Post
Latest post:
Nov 5
11:18 AM
18 Posts
First post: sharru wrote: Hi all! In my ASP.NET application i'm working this Architecture for Linq to Sql. its working great :) *My problem is that i have several sections in my application where i want to use th...
Latest post: rbates wrote: Hello all, this project has now moved to http://www.codeplex.com/MultiTierLinqToSql The most recent version also has the method to discard the datacontext requested in this thread
Jump to: First Post    |Latest Post
Latest post:
Nov 5
11:15 AM
4 Posts
First post: RTPeat wrote: Found the bug, problem solved.
Latest post: rbates wrote: Hello rabindradalai, I can't reproduce this error but I think it is because the movId column is the primary key of the table. You might be better fetching the entity first with GetEntity(...
Jump to: First Post    |Latest Post
Latest post:
Oct 30
4:52 PM
7 Posts
First post: sharru wrote: I have a question regarding error handling. I tought it might be a good idea to add some try & catch code into the Generic Insert method , so that in case a error occurs the whole applica...
Latest post: rbates wrote: Hello beljakm, to answer your question, the way you should handle this is in the OnUpdated/OnInserted event of your GenericObjectDataSource using code like the following: {{ protected vo...
Jump to: First Post    |Latest Post
Latest post:
Oct 18
3:26 PM
9 Posts
First post: wuz wrote: Hello Thank you very much for this great example I have implemented the following approach and it works, but because this is going to be the cornerstone of my solution’s architecture I w...
Latest post: beljakm wrote: I have been rapidly getting into generics, and learning its powers. Examples shown here are great. However, here is a question: Where and how do you handle events, e.g. OnLastNameChang...
Jump to: First Post    |Latest Post
Latest post:
Oct 11
10:46 AM
2 Posts
First post: Tess wrote: Hello. Great discussion. I ran into a problem with the sample project, however, which I don't see discussed elsewhere. I get the error "data source 'ProductDataSource' does not support so...
Latest post: rbates wrote: {quote} Tess wrote: Hello. Great discussion. I ran into a problem with the sample project, however, which I don't see discussed elsewhere. I get the error "data source 'ProductDataSource...
Jump to: First Post    |Latest Post
Latest post:
Sep 21
7:35 PM
2 Posts
First post: tc wrote: Hi, I'm torn on which approach I should use to select/insert/update the collection side of one-to-many relationships, should I have a single controller and use the EntitySet property to ...
Latest post: rbates wrote: I'd definitely go for option 1. Not that there's anything particularly wrong with option 2 it's just more code for no gain. Also if the child table only makes sense in the context of the ...
Jump to: First Post    |Latest Post
Latest post:
Sep 11
4:58 PM
3 Posts
First post: wuz wrote: Hello, When i try to add a logging mechanismus to the generic controller: _dataContext.Log = new System.IO.StreamWriter("linq-to-sql.log") { AutoFlush = true }; I always get a System.I...
Latest post: rbates wrote: Update: Release 1.6 now has a way to easily configure the way that Linq to Sql logs its output.
Jump to: First Post    |Latest Post
Latest post:
Sep 11
6:14 AM
1 Post
First post: tc wrote: Hi, I have many one-to-many relationships defined that are represented using an EntitySet and I use these regularly to read and update data through the datacontext. How could I go about...
Jump to: First Post
Latest post:
Sep 9
11:46 PM
1 Post
First post: tintin5 wrote: The Generic controler does not seem to handle concurrency would it be posible to add somthing like this to the public static void SubmitChanges() { DataContext.Subm...
Jump to: First Post

Configure View

Sorted by Latest post
Search
Filter
(by tag)
All tags
1-10 of 31 < Previous 1 2 3 4 Next >
Updating...
Page view tracker