0
|
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 }
|