2
shouts

Web 2.0 | Querying with Entity SQL

posted by farooqkaiserfarooqkaiser 249 days, 1 hour, 34 minutes ago
Sunday, July 12, 2009 3:42:39 PM GMT

CreateQuery(T) Method creates an ObjectQuery(T) in the current object context by using the specified T-SQL-like query language. I will replace ADO.NET Entity Framework example with Entity SQL Query. private void button1_Click(object sender, EventArgs e)        {                          using (var context = new AdventureWorksEntities1())            {                 var q = "SELECT VALUE c " +                 "FROM Contact AS c " +                 "WHERE c.LastName='Clark'";                var contacts ...

category: SQL | clicked: 6 | | source: www.fairnet.com | show counter code

No comments yet, be the first one to post comment.

To post your comment please login or signup