Mercurial > pub > bltoolkit
comparison Demo/Silverlight/Client.Web/LinqWebService.asmx.cs @ 0:f990fcb411a9
Копия текущей версии из github
author | cin |
---|---|
date | Thu, 27 Mar 2014 21:46:09 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f990fcb411a9 |
---|---|
1 using System; | |
2 using System.Web.Services; | |
3 | |
4 using BLToolkit.ServiceModel; | |
5 | |
6 namespace Client.Web | |
7 { | |
8 [WebService(Namespace = "http://tempuri.org/")] | |
9 [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] | |
10 public class LinqWebService : LinqService | |
11 { | |
12 public override BLToolkit.Data.Linq.IDataContext CreateDataContext() | |
13 { | |
14 return new DataModel(); | |
15 } | |
16 | |
17 protected override void ValidateQuery(LinqServiceQuery query) | |
18 { | |
19 //base.ValidateQuery(query); | |
20 } | |
21 } | |
22 } |