Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var p =
- from n in x.AddressTypes
- where n.Name == "Billing"
- select n;
- var p =
- from n in x.AddressTypes
- where n.Name == "Main Office"
- select n;
- foreach(Customer c in query)
- {
- c.Country = "Wonder Land";
- }
- ctx.SubmitChanges();
- Create PROCEDURE userInfoProcedure
- -- Add the parameters for the stored procedure here
- @FirstName varchar,
- @LastName varchar
- AS
- BEGIN
- SET NOCOUNT ON;
- -- Insert statements for procedure here
- SELECT FirstName , LastName,Age from UserInfo where FirstName=@FirstName
- and LastName=@FirstName
- END
- GO
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement