473,387 Members | 1,890 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,387 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 2548
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.