Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 17 of 17
Search took 0.01 seconds.
Search: Posts Made By: eramgarden
Forum: LINQ November 14th, 2009, 05:08 PM
Replies: 1
Views: 3,750
Posted By eramgarden
Use a simple DBML or this code (base class)?

In my project, I added a DBML. To it, I added my stored procs, my tables. So, I have my website and I have a project that has this DBML. No base class, nothing complicated. It works.


But then,...
Forum: LINQ November 14th, 2009, 04:54 PM
Replies: 1
Views: 2,260
Posted By eramgarden
this might help ...

this might help

http://www.codeproject.com/KB/linq/LINQ_DataLayerBaseClass.aspx
Forum: LINQ April 18th, 2009, 08:28 AM
Replies: 2
Views: 1,151
Posted By eramgarden
i will try and post back. Thanks,

i will try and post back. Thanks,
Forum: LINQ April 17th, 2009, 07:06 PM
Replies: 2
Views: 1,151
Posted By eramgarden
How do I access a property?

1.in my aspx page, i have this:
var result = from p in sCalculator.test(rule.CalculatorId)
select new OrderP.ScoreCalculator { typeName = p.TypeName, name = p.Name...
Forum: LINQ January 4th, 2009, 03:32 PM
Replies: 27
Views: 5,512
Posted By eramgarden
thanks. I work with a narcissist. I'm serious....

thanks. I work with a narcissist. I'm serious. So, i have to double check everything before i open my mouth. Thanks. You've been very helpful. I also bought a book and will go thru that as well.
Forum: LINQ January 2nd, 2009, 08:41 PM
Replies: 27
Views: 5,512
Posted By eramgarden
We set the Default Tracking mode to off/false. Is...

We set the Default Tracking mode to off/false. Is that ok??

coworker did it because she couldnt serilaize the datacontext.
Forum: LINQ January 1st, 2009, 12:31 AM
Replies: 27
Views: 5,512
Posted By eramgarden
http://www.sidarok.com/web/blog/content/2008/05/02...

http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html

step number 2 says not to dump everything in one datacontext.
Forum: LINQ December 31st, 2008, 11:31 PM
Replies: 27
Views: 5,512
Posted By eramgarden
i wanted to have separate DBML files for each...

i wanted to have separate DBML files for each section of the app/group of tables but my coworker put all the tables in one DBML file.

Isnt it better to have DBML files for each group of tables?...
Forum: LINQ December 31st, 2008, 10:34 PM
Replies: 27
Views: 5,512
Posted By eramgarden
we have like 400 tables in our database. Is it ok...

we have like 400 tables in our database. Is it ok to have all of it in a Datacontext? to have ONE datacontext to contain the tables/stored procs and just use this thru out the app?
Forum: LINQ December 31st, 2008, 06:26 PM
Replies: 27
Views: 5,512
Posted By eramgarden
http://www.west-wind.com/weblog/posts/246222.aspx...

http://www.west-wind.com/weblog/posts/246222.aspx

first paragraph: "This doesn't mean that it makes persistent connections to the database, but means that the DataContext instance maintains state...
Forum: LINQ December 31st, 2008, 05:22 PM
Replies: 27
Views: 5,512
Posted By eramgarden
thanks, let me think and will post back

thanks, let me think and will post back
Forum: LINQ December 31st, 2008, 01:00 PM
Replies: 27
Views: 5,512
Posted By eramgarden
thanks guys for the good discussion. Is this...

thanks guys for the good discussion. Is this correct about LINQ:

Is it true that if I'm using stored proc with LINQ, I'm working with a disconnected mode because we're not using the Context?? but...
Forum: LINQ December 29th, 2008, 10:43 PM
Replies: 27
Views: 5,512
Posted By eramgarden
Someone shoot me please [:D] I know. We...

Someone shoot me please [:D]

I know. We got to where we are because someone on the team decided to disagree with the rest of us. I agree with the datareader.
Forum: LINQ December 29th, 2008, 10:02 PM
Replies: 27
Views: 5,512
Posted By eramgarden
we have the Enterprise Library. EL uses ADO.Net...

we have the Enterprise Library. EL uses ADO.Net (dataset, datareader) etc.

Reason we're thinking about using EF or L2S is performance. We looked into typed data sets and compared to L2S, L2S was...
Forum: LINQ December 29th, 2008, 09:19 PM
Replies: 27
Views: 5,512
Posted By eramgarden
what do you guys think of Entity Framework?

what do you guys think of Entity Framework?
Forum: LINQ December 29th, 2008, 09:05 PM
Replies: 27
Views: 5,512
Posted By eramgarden
Thanks Doug... You know what, I just read...

Thanks Doug...

You know what, I just read that Microsoft will put more effort into Entity Framework rather than LINQ-To-SQL. Not good. Looking into Entity Framework.
Forum: LINQ December 28th, 2008, 08:59 PM
Replies: 27
Views: 5,512
Posted By eramgarden
LINQ: use stored proc or Ad-hoc?

I'm new to LINQ and been reading about LINQ.

Any pros/cons to using stored procs instead of ad-hoc LINQ sql?

I know that stored procs are easier to change. As far as SQL Injection, i think...
Showing results 1 to 17 of 17

 


All times are GMT -4. The time now is 10:04 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.