[system.data.services] Stubs for a few 4.0 types + some implementation + some tests
[mono.git] / mcs / class / System.Data.Services / System.Data.Services / DataServiceConfiguration.cs
1 // 
2 // DataServiceConfiguration.cs
3 //  
4 // Author:
5 //       Marek Habersack <grendel@twistedcode.net>
6 // 
7 // Copyright (c) 2011 Novell, Inc
8 // 
9 // Permission is hereby granted, free of charge, to any person obtaining a copy
10 // of this software and associated documentation files (the "Software"), to deal
11 // in the Software without restriction, including without limitation the rights
12 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13 // copies of the Software, and to permit persons to whom the Software is
14 // furnished to do so, subject to the following conditions:
15 // 
16 // The above copyright notice and this permission notice shall be included in
17 // all copies or substantial portions of the Software.
18 // 
19 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25 // THE SOFTWARE.
26
27 using System;
28 using System.Collections.Generic;
29 using System.Diagnostics;
30 using System.Linq;
31 using System.Linq.Expressions;
32 using System.Reflection;
33 using System.Runtime;
34 using System.Text;
35
36 namespace System.Data.Services
37 {
38         public sealed class DataServiceConfiguration : IDataServiceConfiguration
39         {
40                 public bool EnableTypeConversion {
41                         get { throw new NotImplementedException (); }
42                         set { throw new NotImplementedException (); }
43                 }
44
45                 public int MaxBatchCount {
46                         get { throw new NotImplementedException (); }
47                         set { throw new NotImplementedException (); }
48                 }
49
50                 public int MaxChangesetCount {
51                         get { throw new NotImplementedException (); }
52                         set { throw new NotImplementedException (); }
53                 }
54
55                 public int MaxExpandCount {
56                         get { throw new NotImplementedException (); }
57                         set { throw new NotImplementedException (); }
58                 }
59
60                 public int MaxExpandDepth {
61                         get { throw new NotImplementedException (); }
62                         set { throw new NotImplementedException (); }
63                 }
64
65                 public int MaxResultsPerCollection {
66                         get { throw new NotImplementedException (); }
67                         set { throw new NotImplementedException (); }
68                 }
69
70                 public int MaxObjectCountOnInsert {
71                         get { throw new NotImplementedException (); }
72                         set { throw new NotImplementedException (); }
73                 }
74
75                 public bool UseVerboseErrors {
76                         get { throw new NotImplementedException (); }
77                         set { throw new NotImplementedException (); }
78                 }
79
80                 public DataServiceBehavior DataServiceBehavior {
81                         get { throw new NotImplementedException (); }
82                 }
83
84                 public void SetEntitySetAccessRule (string name, EntitySetRights rights)
85                 {
86                         throw new NotImplementedException ();
87                 }
88
89                 public void SetServiceOperationAccessRule (string name, ServiceOperationRights rights)
90                 {
91                         throw new NotImplementedException ();
92                 }
93
94                 public void RegisterKnownType (Type type)
95                 {
96                         throw new NotImplementedException ();
97                 }
98
99                 public void SetEntitySetPageSize (string name, int size)
100                 {
101                         throw new NotImplementedException ();
102                 }
103
104                 public void EnableTypeAccess (string typeName)
105                 {
106                         throw new NotImplementedException ();
107                 }
108         }
109 }