I am currently playing around with Silverlight3, C# and LinqToSQL . I have build up a database on a SQLExpress Server with some tables for example:
I am trying to use unity to automatically inject a datacontext on my repository using a new instance each time.., my idea is the ensure that each time a new datacontext is injected
I have three tables: Login, LoginRoles and Roles.Login joins to LoginRoles and LoginRoles joins to Roles.LoginRolesis a many-to-many table, and I want to constrain the columns as being unique TOGETHER
I have a scenario where I define the XSD first, then ge开发者_C百科nerate the cs files from these XSD (using xsd.exe). I need to take this 2 steps furthur by generating the dbml from these and then ca
In our code we have: public interface ILogMagazine { string Text { get; set; } DateTime DateAndTime { get; set; }
How do I code the Select clause in my LINQ satament to select column aliases so I can sort on them basically I want to accomplish this SQL statement in LINQ:
Is there a way to specify in a data connection or the LinqToSql Designer a schema? Whenever I go to setup a data connection for LinqToSql there doesn\'t seem to be anyway to specify a schema and I ge
I\'m not sure how to ask this question, so I\'ll start with an example of what I\'m doing. Here is my table structure...
I am part of a team developing a windows application. We have decided to use LINQ-to-SQL. We are using the designer to generate the classes.
This question may be redundant, but i could not totally understand how to do this. I need to be able to, when the users Run my Winforms app, can search for the instance of SQL if the previous one are