473,320 Members | 1,926 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

LINQ

Good noon! Maybe anyone of you knows how generate LINQ Classes
programmatically?

Thanks in advance!

Jan 14 '08 #1
5 2537
On Jan 14, 3:01 pm, Nikolay Podkolzin
<NikolayPodkol...@discussions.microsoft.comwrote :
Good noon! Maybe anyone of you knows how generate LINQ Classes
programmatically?
You'll need to give a lot more detail than that. What do you mean by
"LINQ classes"?

Jon
Jan 14 '08 #2
sure. For example I've a dialog (like in Visual Studio) Where I'm typing
server, psw, etc... and after that, I take the LINQ Classes (like in the
Visual Studio and it's designer)
"Jon Skeet [C# MVP]" wrote:
On Jan 14, 3:01 pm, Nikolay Podkolzin
<NikolayPodkol...@discussions.microsoft.comwrote :
Good noon! Maybe anyone of you knows how generate LINQ Classes
programmatically?

You'll need to give a lot more detail than that. What do you mean by
"LINQ classes"?

Jon
Jan 14 '08 #3
On Jan 14, 3:48 pm, Nikolay Podkolzin
<NikolayPodkol...@discussions.microsoft.comwrote :
sure. For example I've a dialog (like in Visual Studio) Where I'm typing
server, psw, etc... and after that, I take the LINQ Classes (like in the
Visual Studio and it's designer)
So are you talking specifically about LINQ to SQL classes? And are you
talking about trying to call the generator that Visual Studio uses, or
writing your own?

Perhaps it would help if you could give us some information about why
you're trying to do this in the first place.

Jon
Jan 14 '08 #4
yes, I'm talking about Linq to Sql clasess. And I wanna use the generator
that VS uses. What for I need this: Probably it would be useful for me (as
well as other developers who works with Relational Data)

Thanks In Advance

"Jon Skeet [C# MVP]" wrote:
On Jan 14, 3:48 pm, Nikolay Podkolzin
<NikolayPodkol...@discussions.microsoft.comwrote :
sure. For example I've a dialog (like in Visual Studio) Where I'm typing
server, psw, etc... and after that, I take the LINQ Classes (like in the
Visual Studio and it's designer)

So are you talking specifically about LINQ to SQL classes? And are you
talking about trying to call the generator that Visual Studio uses, or
writing your own?

Perhaps it would help if you could give us some information about why
you're trying to do this in the first place.

Jon
Jan 14 '08 #5
On Jan 14, 4:07 pm, Nikolay Podkolzin
<NikolayPodkol...@discussions.microsoft.comwrote :
yes, I'm talking about Linq to Sql clasess. And I wanna use the generator
that VS uses. What for I need this: Probably it would be useful for me (as
well as other developers who works with Relational Data)
So what would you need it to do programatically rather than via Visual
Studio? Would you expect to already have a .dbml file? I'm having
trouble understanding a concrete use for this rather than "it would
probably be useful".

Anyway, I believe the SqlMetal tool is what VS uses, so if you're
happy to launch that it should be okay.

Jon
Jan 14 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dave Johnson | last post by:
Greetings, i want to be able to use linq new technology with sql server. the senario i am not able to do so far is as follow: 1- i program with linq 2- be able to generate and manipulate...
4
by: cj | last post by:
Can I use LINQ in VB .Net 2008 to get to a Visual FoxPro Table? I've seen demos of it with SQL Server but they've used it with a server browser and I don't think that'd work when I need to see VFP...
9
by: =?Utf-8?B?cmF1bGF2aQ==?= | last post by:
Hi all: after reading different places/sites about linq... I ran into these questions: 1. What framework do we need to run linq ? (does it depend on what version of visual studio we have?) how...
0
by: =?Utf-8?B?SHlwZXJjb2Rlcg==?= | last post by:
I'm encountering some strange behavior after deploying a ASP.net 3.5 website to production, i'm unable to reproduce these in my dev environment. This error seems to occur very randomly but it's...
4
by: =?Utf-8?B?RXJpYyBGYWxza2Vu?= | last post by:
We’re storing our main entity in an insert only table which stores the history of past revisions, but we’re facing problems with storing this history as LINQ will only update the entity, and...
14
by: thj | last post by:
Hi, I was wondering what you guys are using and why? LINQ to SQL or NHibernate? Thanks in advance, Tommy
9
by: Cirene | last post by:
I'm about to begin a brand new, big, ASP.NET project (using 3.5 .net fw), VS 2008. I'm using MySQL as the backend (customer request.) I have absolutely no experience with LINQ and/or the Entity...
3
by: =?Utf-8?B?UGF1bCBQcmV3ZXR0?= | last post by:
I'm attempting to use LINQ to insert a record into a child table and I'm receiving a "Specified cast is not valid" error that has something to do w/ the keys involved. The stack trace is: ...
4
by: George | last post by:
I am a bit conservative type and usually give some time for technology to mature before starting to try it. Today my question is Linq. To start using it or not. So here is the voting questions....
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.