Geeks With Blogs
Sergey Zwezdin Microsoft MVP, Visual C# March 2009 Entries
Use together ADO.NET Data Services with SQL Compact
Yes, you were not mistaken, having read title. Now we will look how it is possible to work with data from SQL Compact using ADO.NET Data Services. Important remark. Actually, SQL Compact not absolutely correctly to use together with ADO.NET Data Services. SQL Compact initially is not focused on a mode of the multiuser work and it is intended for other purposes – for use as local storage. Using SQL Compact as storage for ADO.NET Data Services can negatively affect productivity of your web service. ......

Posted On Friday, March 27, 2009 9:24 AM

How I can define custom instance logic of data model in ADO.NET Data Services?
When we work with ADO.NET Data Services we reference data model via generic-parameter. Thus, instance of data context class it is created by infrastructure of ADO.NET Data Services. In this case ADO.NET Data Services use constructor without parameters. Frequently such behavior quite enough – we create data model, in configuration file we register connection string and it works. However, it is possible to see scenarios when it necessary to meddle in this process. Causes my be very different: We need ......

Posted On Wednesday, March 25, 2009 8:48 AM

ADO.NET Data Services и LINQ to SQL: continuation
Recently I wrote about what actions are necessary, that the LINQ-to-SQL data model could work together with ADO.NET Data Services. I wish to add this information with one important fact. Actually, there is an convention on which ADO.NET Data Services tries to define independently key fields in entity. This convention consists in the following – if the entity is not marked with DataServiceKey attribute, following actions are carried out: Among properties of entity property ID is searching. If it exists, ......

Posted On Tuesday, March 24, 2009 12:01 PM

Updating data into ADO.NET Data Services which based on LINQ to SQL
We continue to investigate possibilites of use LINQ to SQL as model of data for ADO.NET Data Services. Today we will talk about possibility of change data. I will remind, that ADO.NET Data Services platform gives us possibility not only to select data through web service, but also to update them using methods POST/PUT/MERGE/DELETE. Within data model it is necessary to implement IQueryable interface (for each entity set) for data selecting, and IUpdatable (for datacontext class) for updating. Let’s ......

Posted On Monday, March 23, 2009 9:43 AM

ADO.NET Data Services and LINQ-to-SQL
As a rule, ADO.NET Data Services works over ADO.NET Entity Framework data model. However, work with real projects (and customers:)) sometimes specifies to us other conditions. Frequently there is no necessity to use Entity Framework. And in this case we start to think of use LINQ-to-SQL as data model. In earlier versions of ADO.NET Data Services it is has been simple – create data model, create web-service and it works! When ADO.NET Data Services released, the situation has been changed – at construction ......

Posted On Monday, March 23, 2009 7:46 AM

Debugging ADO.NET Data Services
Interest to ADO.NET Data Services platform obviously is growing up among developers of web-services. It also confirmed when I receive e-mail letters with questions about different problems. As a rule these questions are reduced to serivce error after some actions, when serivce say about general error and not takes details. In this case services say that he stored information about error in logs. Whether familiarly to you the given message? I think yes, if you had time to try ADO.NET Data Services ......

Posted On Thursday, March 19, 2009 10:14 PM

Welcome to my blog
Hello. My name is Sergey Zwezdin. I work in company NeoConcept (Russia, Chelyabinsk) at position CTO. I am engaged in software working out on platform Microsoft. NET since 2004. Since July, 2008 I am Microsoft MVP, technical expertise - Visual C #. The area of my interests includes WCF, WPF, LINQ, ADO.NET Data Services (astoria), ADO.NET Entity Framework, and many other interesting technologies. To communicate with me use following e-mail sergey.zwezdin@gmail.com or MSN sergey.zwezdin@gmail.com. ......

Posted On Thursday, March 19, 2009 11:38 AM

Copyright © Sergey Zwezdin | Powered by: GeeksWithBlogs.net