.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions

Which command line tool generate code and mapping for the LINQ to SQL component of .net Framework

Posted By :Kirtan     Posted Date :June 30, 2010    Points :10   Category :.NET Framework 
Answer :SqlMetal.exe

You can also find related Interview Question to Which command line tool generate code and mapping for the LINQ to SQL component of .net Framework  below: 

what is the use of Command Line Arguments?

on start ->Run a run prompt appears and you type notepad.exe to runt he notepad application. Suppose you want to open particular file in notepad you can pass the command line argument like

Notepad.exe c:\MyLogFile.txt

The above statement will open the notepad application with the mentioned filed name.

Comming to programming life i would like to give few examples, which indicates the importance of command line arguments

1. Invoking a com component with different performance options
devEnv.exe /SafeMode
devenv.exe /reset
devenv.exe /nosplash
such command line arguments are used to start the application with different configuration settings

2. Start the executable with different language code passed during the execution
MyApplication.exe /en-US
MyApplication.exe /en-UK
MyApplication.exe /in-HN

It is upto the MyApplication.exe to handle how the command line arguments are used.

3. Suppose you have an application which should run differently depending on the client code or location code .You can pass thorugh command line.

static void Main(strng[] args) here args array recieves the command line arguments when invoking the program
args[0] 1st parameter
args[1] 2nd parameter and so on.... (More...)

What is the result of below given line of code in Java Script? 5+4+'7'

The answer is 97.

As 5 and 4 are integer so total becomes 9 and it's add '7' to it as string so it becomes 97.

What are the four LINQ Providers types in .NET Framework 3.0

The four LINQ Providers types introduced in .NET Framework 3.0

a. LINQ to DataSets - For handling LINQ queries against ADO.NET DataSets.
b. LINQ to Objects - For handling a LINQ query against a collection of objects
c. LINQ to XML - For handling an XPATH query against XML documents
d. LINQ to SQL - For handling LINQ queries against Microsoft SQL Server.

What are the Disadvantages of Using LINQ in your Code?


Ans. LINQ translates the LINQ queries into Collaborative Application Markup Language (CAML) queries thus adding an extra step for retrieving the items. (More...)

how to show the line numbers in C# code editor?


Ans ->

Tools -> option

TextEditor ->C# ->Line number option check

What is .NET Framework?

The .NET Framework has two main components: the common language runtime and the .NET Framework class library.
You can think of the runtime as an agent that manages code at execution time, providing core services such as memory management, thread management, and remoting, while also enforcing strict type safety and other forms of code accuracy that ensure security and robustness.
The class library, is a comprehensive, object-oriented collection of reusable types that you can use to develop applications ranging from traditional command-line or graphical user interface (GUI) applications to applications based on the latest innovations provided by ASP.NET, such as Web Forms and XML Web services. (More...)

What is the managed and unmanaged code in .net?

The .NET Framework provides a run-time environment called the Common Language Runtime, which manages the execution of code and provides services that make the development process easier. Compilers and tools expose the runtime's functionality and enable you to write code that benefits from this managed execution environment. Code that you develop with a language compiler that targets the runtime is called managed code; it benefits from features such as cross-language integration, cross-language exception handling, enhanced security, versioning and deployment support, a simplified model for component interaction, and debugging and profiling services. (More...)

What happens when we issue Dataset.ReadXml command?

Reads XML schema and data into the DataSet. (More...)

Can code inside multiple catch block be executed?

No, Code can not execute in mutiple catch block (More...)

what is used to execute a .net file from the command prompt ?

csc is C# compiler abbreviation is C Sharp Compiler (More...)

What is the .NET Framework?

The .NET Framework is an environment for building, deploying, and running Web Services and other applications. It consists of three main parts: the Common Language Runtime, the Framework classes, and ASP.NET. (More...)

Does the .NET Framework only apply to people building Web sites?

The .NET Framework enables you to create great Web applications. However, it can also help you build the same applications you build today. If you write any Windows software (using ATL/COM, MFC, Microsoft® Visual Basic®, or even standard Microsoft® Win32®), .NET offers many advantages to the way you currently build applications. Of course, if you do develop Web sites, then the .NET Framework has a lot to interest you-starting with ASP.NET. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend