Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:775220
More Search Options
RSS Available
Matching Posts
Re: Compiler error using LINQ query in c# code (CS1002)
Nevermind. I solved the issue. Apparently the code block below, which is contained within the web.config file, really is important. < system.codedom > < compilers > < compiler language = " c#;cs;csharp " extension = " .cs " warningLevel = " 4 " type = " Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 " > < providerOption name = " CompilerVersion " value = " v3
Posted to
C#
(Forum)
by
mike.j.pappas
on 2/5/2008
Compiler error using LINQ query in c# code (CS1002)
I have written a simple query in my web application. The query is: SupportSystemDataContext ctx = new SupportSystemDataContext (); var items = from i in ctx.Items where i.TitleID == 2 select i; I recieve the following error when I try to compile my application: CS1002: ; expected I am working with Visual Studio 2008 Professional. What could the problem be?
Posted to
C#
(Forum)
by
mike.j.pappas
on 2/5/2008
Filed under: linq to sql
Re: Adding tables to EDM
After running some tests and deleting various tables, the designer fails when it finds tables that have the same name. For example, in my database I have a number of tables that are assigned to different schemas, but have the same name, as below: stat.Item menu.Item usage.Item etc. When I changed the names of the tables themselves, I was able to pull up the model designer.
Posted to
ASP.NET 3.5 Extensions Preview
(Forum)
by
mike.j.pappas
on 12/12/2007
Filed under: model browser, 3.5, data model, edmx
Re: Adding tables to EDM
I can execute only the following queries: SELECT TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME FROM Information_Schema.Tables ORDER BY TABLE_SCHEMA, TABLE_NAME SELECT TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME FROM INFORMATION_SCHEMA.VIEWS ORDER BY TABLE_SCHEMA, TABLE_NAME SELECT * FROM INFORMATION_SCHEMA.ROUTINES I recieve results for all three of these queries. I will email a copy of the database scripts.
Posted to
ASP.NET 3.5 Extensions Preview
(Forum)
by
mike.j.pappas
on 12/12/2007
Filed under: model browser, 3.5, ASP.NET 3.5 Extensions, data model, edmx
Re: Adding tables to EDM
I have SQL 2005 (not SQLExpress) running on my development machine. Here is my edmx file. <?xml version="1.0" encoding="utf-8"?> <edmx:Edmx Version="1.0" xmlns:edmx=" http://schemas.microsoft.com/ado/2007/06/edmx "> <edmx:Designer xmlns=" http://schemas.microsoft.com/ado/2007/06/edmx "> <edmx:Connection> <DesignerInfoPropertySet> <DesignerProperty Name="MetadataArtifactProcessing" Value="CopyToOutputDirectory"
Posted to
ASP.NET 3.5 Extensions Preview
(Forum)
by
mike.j.pappas
on 12/11/2007
Filed under: data model, edmx
Re: Adding tables to EDM
I'm having the same issue. After auto-generating a model based of an existing database, I try to add another entity by right-clicking anywhere in the Model Browser. The database screen appears for a second, then disappears. I tried also manually adding an entity and trying to associate it to a table. That tables that I already added show up but there is now way to add or type in another table.
Posted to
ASP.NET 3.5 Extensions Preview
(Forum)
by
mike.j.pappas
on 12/10/2007
Filed under: model browser, 3.5, data model, edmx
Cannot add reference to Microsoft.Data.WebClient.dll
When following the quickstarts for ASP.NET 3.5 Extensions, I am trying to add a reference to Microsoft.Data.WebClient from the GAC References list. This assembly does not actually appear in the list, even though it does appear under C:\Windows\assembly. I can't locate this DLL on my computer as well. I tried reinstalling the Extensions, but that did not help. Am I missing an installation?
Posted to
ASP.NET 3.5 Extensions Preview
(Forum)
by
mike.j.pappas
on 12/10/2007
Filed under: ajax, ASP.NET 3.5 Extensions, WebClient
Re: Cannot add ADO.NET Entity Data Model to web application project
That's also what I was expecting. The reason why this item template did not appear was that I had not installed the Entity Framework tools. I guess it would have helped to read the release notes for the Extensions 3.5. The link to the EF tools is: http://www.microsoft.com/downloads/details.aspx?FamilyId=D8AE4404-8E05-41FC-94C8-C73D9E238F82&displaylang=en
Posted to
ASP.NET 3.5 Extensions Preview
(Forum)
by
mike.j.pappas
on 12/10/2007
Cannot add ADO.NET Entity Data Model to web application project
I have Visual Studio 2008 RTM installed as well as the 3.5 Extensions Preview. I have created a new project using the ASP.NET 3.5 Exteniosn Web Application template. When I try to add a new ADO.NET Entity Data Model (edmx) I cannot seem to find it in the list of possible items to add. The only item template remotely close to it is "ADO.NET Data Service." How do I get this to show up in my template list?
Posted to
ASP.NET 3.5 Extensions Preview
(Forum)
by
mike.j.pappas
on 12/10/2007
Filed under: 3.5, data model, edmx, entity data framework
Page 1 of 1 (9 items)
Mix Online:
Using the HTML5 Video and Audio Tag with Gestalt
WindowsClient:
Subclassing Shape (or more accurately, Path)
WindowsClient:
Having trouble deleting files? Try this
Channel 9:
Nick Baker: Xbox Architecture
TechNet Edge:
Thrive Live! Behavioral Interviewing: A behavioral answer is always the correct answer
ASP.NET:
PDC and Tech-Ed Europe Slides and Code
WindowsClient:
JScript location bar silliness
WindowsClient:
Anybody build a XAML parser in C or C++ yet?
WindowsClient:
Silverlight use, power and deployment keeps growing; so does WPF
ASP.NET:
T4CSS: A T4 Template for .Less CSS With Compression
WindowsClient:
JSON-P: An Elegant Hack
Channel 9:
Photosynth Update and New UI
Channel 9:
First Look: Streetside in Bing Maps
Channel 9:
Coding4Fun at PDC 2009
WindowsClient:
10 Must-See PDC 09 Sessions
Channel 10:
Photosynth Updated with New Release and New UI
Channel 10:
WindowsBlinds 7 Now Works with Windows 7
Channel 10:
Zune HD Launches New Colors
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
ASP.NET:
Hanselminutes Podcast 188: ASP.NET MVC 2 Beta with Phil Haack
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online