|
On many sites I have read that microsoft is not going to add new features to Linq to SQL. So is it dead? From developers point of view should one go for Linq to SQL or Entity Framework?
|
|
|
|
|
Entity framework is the way to go, I have seen many exciting developments in this field in MS Tech Ed. Also the way virtualisation in WPF and Silverlight is going it would be very handy to know.
LINQ to SQL is not completely dead there will always be a use for it, just like datasets ect
Chona1171
Web Developer (C#), Silverlight
|
|
|
|
|
Since Entity Framework uses LinqToSql I would say it is not dead. Just Microsoft has always done they are moving toward other implementations of the technology.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Starting new projects in Linq2Sql sounds like a mistake, while converting working ones to Entity Framework sounds like a waste of time.
|
|
|
|
|
The Linq to SQL team has been absorbed by the entity Framework team in Microsoft. I use Linq to SQL in a large project that I am working on that we started years ago. Part of the reason that I have not changed it to EF yet is that we are still on VS2008. The new EF that is in .NET 4 provides alot of the functionality that we use from Linq to SQL, such as lazy loading of objects. This is not in the EF that is included in VS2008 and since our product uses that, we cannot switch over until we move up to .NET 4.
Take a look at the features. You did not say if this was using VS2008 or VS2010. For me, Linq to SQL was the better choice in VS2008, but if you are using VS2010, then EF4 is the better path.
Steve Maier
|
|
|
|
|
I love Linq to SQL for the queries, but it is an absolute dog when doing inserts or updates of very large transaction sets. For example, my application requires doing about 60,000 inserts as a single transaction. Using SqlCommand it takes 20 seconds. Using Linq to SQL it takes 200 seconds. I believe that because of all the checking for Foreign Key integrity it actually grows exponentially as new items are added to the transaction.
As for Entity Framework, I am also using VS 2008 and would not want to use Entity Framework until VS 2010 which has a more stable and mature product than the one with VS 2008. Also since ADO gives me so much better performance for my very large transaction set, I don't think the time taken to set up an experiment with Entity Framework is worth the effort.
Robert Tanenbaum
|
|
|
|
|
We have developed some .Net Windows forms.
While they run fine on the local PC, they can't be run from our fileserver (shortcut).
I recall there's a security feature to prevent apps from running on untrusted servers.
How do I tell it it's ok? I've checked IE Options.
The Admin Tools Control Panel only goes up to .Net 1.1.
I need an app that will automatically deliver a new BBBBBBBBaBB (beautiful blonde bimbo brandishing bountiful bobbing bare breasts and bodacious butt) every day.
John Simmons / outlaw programmer
|
|
|
|
|
You're thinking of caspol. Looking it up, I think the following should work (may need a little tweaking):
CasPol.exe -m -ag 1 -url file:
|
|
|
|
|
That worked. Thanks
I need an app that will automatically deliver a new BBBBBBBBaBB (beautiful blonde bimbo brandishing bountiful bobbing bare breasts and bodacious butt) every day.
John Simmons / outlaw programmer
|
|
|
|
|
You're welcome. Glad it helped.
|
|
|
|
|
If you need to run .net applications from a server you should look at ClickOnce[^]
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
If you are using .net 2 by installing the .net2 framework sdk the admin control panel will be under your administrative tools.
I dotn a project 4 years ago that required me to do that
Chona1171
Web Developer (C#), Silverlight
|
|
|
|
|
I understand that Macros can be created through the reflection client, Start record and stop record as well as editing the macro with the VBeditor. It seems so old however the Terminal I ma using is a 5250. So I imagine its editor its using the vb version 5 or 6. Is there a way to create the applications externally in VB.NET and then port it to reflection. I mean is there a namespace or class I can use in VB.net that will still allow the automation like the macro used in reflection?
|
|
|
|
|
There is nothing in the .NET Framework to do what you're talking about. The interfaces for this would have to be supplied by your 5250 software.
If it's coded to launch the VB6 editor (I highly doubt it) or it's using VBA (Visual Basic for Applications), there's nothing you can do about it. There is nothing in the .NET Framework that will let you chose which environment/IDE another piece of software shows you.
You're only option is to go back to the manunfacturer of the 5250 software and see if they've updated it. Or, replace the 5250 software entirely and, chances are, you'll end up recoding all of your macros.
|
|
|
|
|
Hi Everyone,
I am using webbrowser control in my application. After when webbrowser navigates to the specified url, it is not possible to close the browser because of tabbed browsing. Please help me in fixing the issue through code.
Thanks in Advance.
Regards,
Manowj
|
|
|
|
|
Can you share the code you are using to initiate the browse in the browser control.
I don't follow what you mean by unable to close the browser. its a control in your app after all.
|
|
|
|
|
manowj wrote: , it is not possible to close the browser because of tabbed browsing.
Do you get some sort of error? What have you tried to implement this?
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
|
|
|
|
|
Thanks in advance.
I want to Update Visual Studio 2008 to Framework 2008 sp 1 on a system where i dont have internet Access, Is there any solution for this. As it connects to internet during installation and downloads from the internet
SOFTDEV
Luck in life always exists in the form of an abstract class that cannot be instantiated directly and needs to be inherited by hard work and dedication.
|
|
|
|
|
Most of the Microsoft products can be downloaded as an ISO image and then burned to DVD. If you have access to the internet elsewhere you can use this method.
I must get a clever new signature for 2011.
|
|
|
|
|
You should be able to download a solution that does not need internet access from another machine. The file would be a lot larger and you will have to search to find it.
|
|
|
|
|
VS 2008 SP1 download [^]page has a link to the iso file format[^] at the bottom of the page.
You will need to downloaded from a machine that has internet access, then burn it to CD or DVD.
|
|
|
|
|
I have in mind an app for work that will let people easily schedule vacation time and also view others' scheduled vacations. We have an informal system now which often leads to multiple key individuals taking the same days off during the year, because of a lack of coordination. What I have in mind is something like a free-standing Outlook calendar which can hold multiple entries for each day.
I haven't worked with datagrids before, but I have a general idea of what they can do. What I had in mind was an overall grid with cells representing days of the month, each containing another grid to display the names of the employees scheduled to be out that day. Ideally an employee could view the period to be scheduled, enter a range of days to be off, and have them displayed as pending until the boss views the page and approves the time off.
Is this the right tool for the job, or am I barking mad (again)?
Will Rogers never met me.
|
|
|
|
|
There are several Month Calendar implementations here in the CP Articles, both Web and WinForms.
My view is that almost all of them would be better than a DataGrid but particularly those that are of the appointment tracker type.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!
|
|
|
|
|
That's why I was considering the possibility that I might be insane to try it. I see a lot of questions in the C# forum about datagrids, which leads me to believe that they're bad news. I've looked through a lot of articles for month calendars, here and elsewhere, but all seem lacking. But it's been a while, so I'll look again. Thanks!
Will Rogers never met me.
|
|
|
|
|
Unlike many here on CP I think the DataGridView is great, even for data entry. Provided that it is solely for your own use, that is.
Whichever way you decide to go is going to mean some amount of modification to an existing control. The amount involved to do it with the DGV is, in my opinion, far, far greater than would be required for someones' Calendar Control (The MS MonthCalendar is so sealed that it is not in the running BTW).
I have just found Calendar DayView Control[^] which while it is not exactly what you want, does bring lots of possibilities to my mind. (Download the Demo Project and run it, rather than just look at the images in the article.)
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!
|
|
|
|