ObjectSchema.cs 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. //
  2. // System.Data.ObjectSpaces.Schema.ObjectSchema.cs
  3. //
  4. // Author:
  5. // Mark Easton ([email protected])
  6. // Tim Coleman ([email protected])
  7. //
  8. // (C) BLiNK Software Ltd. http://www.blinksoftware.co.uk
  9. // Copyright (C) Tim Coleman, 2003
  10. //
  11. //
  12. // Permission is hereby granted, free of charge, to any person obtaining
  13. // a copy of this software and associated documentation files (the
  14. // "Software"), to deal in the Software without restriction, including
  15. // without limitation the rights to use, copy, modify, merge, publish,
  16. // distribute, sublicense, and/or sell copies of the Software, and to
  17. // permit persons to whom the Software is furnished to do so, subject to
  18. // the following conditions:
  19. //
  20. // The above copyright notice and this permission notice shall be
  21. // included in all copies or substantial portions of the Software.
  22. //
  23. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  24. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  25. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  26. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  27. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  28. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  29. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  30. //
  31. #if NET_2_0
  32. using System.Data.Mapping;
  33. using System.IO;
  34. using System.Xml;
  35. using System.Xml.Schema;
  36. namespace System.Data.ObjectSpaces.Schema {
  37. public class ObjectSchema : ICloneable, IDomainSchema
  38. {
  39. #region Fields
  40. string name;
  41. #endregion // Fields
  42. #region Constructors
  43. [MonoTODO]
  44. public ObjectSchema ()
  45. {
  46. }
  47. [MonoTODO]
  48. public ObjectSchema (string url)
  49. {
  50. }
  51. #endregion // Constructors
  52. #region Properties
  53. [MonoTODO]
  54. public SchemaClassCollection Classes {
  55. get { throw new NotImplementedException (); }
  56. }
  57. [MonoTODO]
  58. public ExtendedPropertyCollection ExtendedProperties {
  59. get { throw new NotImplementedException (); }
  60. }
  61. [MonoTODO]
  62. MappingDataSourceType IDomainSchema.DomainType {
  63. get { throw new NotImplementedException (); }
  64. }
  65. [MonoTODO ("Verify")]
  66. public string Name {
  67. get { return name; }
  68. set { name = value; }
  69. }
  70. [MonoTODO]
  71. public string Namespace {
  72. get { throw new NotImplementedException (); }
  73. }
  74. [MonoTODO]
  75. public ObjectRelationshipCollection Relationships {
  76. get { throw new NotImplementedException (); }
  77. }
  78. [MonoTODO]
  79. public string SourceUri {
  80. get { throw new NotImplementedException (); }
  81. }
  82. #endregion // Properties
  83. #region Methods
  84. [MonoTODO]
  85. public Object Clone ()
  86. {
  87. throw new NotImplementedException ();
  88. }
  89. [MonoTODO]
  90. public string GetSchemaXml ()
  91. {
  92. throw new NotImplementedException ();
  93. }
  94. [MonoTODO]
  95. IDomainConstraint IDomainSchema.GetDomainConstraint (string select, IXmlNamespaceResolver namespaces)
  96. {
  97. throw new NotImplementedException ();
  98. }
  99. [MonoTODO]
  100. IDomainStructure IDomainSchema.GetDomainStructure (string select, IXmlNamespaceResolver namespaces)
  101. {
  102. throw new NotImplementedException ();
  103. }
  104. [MonoTODO]
  105. void IDomainSchema.Read (string url)
  106. {
  107. throw new NotImplementedException ();
  108. }
  109. [MonoTODO]
  110. void IDomainSchema.Read (string url, ValidationEventHandler validationEventHandler)
  111. {
  112. throw new NotImplementedException ();
  113. }
  114. [MonoTODO]
  115. void IDomainSchema.Read (XmlReader reader)
  116. {
  117. throw new NotImplementedException ();
  118. }
  119. [MonoTODO]
  120. void IDomainSchema.Read (XmlReader reader, ValidationEventHandler validationEventHandler)
  121. {
  122. throw new NotImplementedException ();
  123. }
  124. [MonoTODO]
  125. void IDomainSchema.ReadExtensions (XmlReader reader)
  126. {
  127. throw new NotImplementedException ();
  128. }
  129. [MonoTODO]
  130. void IDomainSchema.ReadExtensions (XmlReader reader, ValidationEventHandler validationEventHandler)
  131. {
  132. throw new NotImplementedException ();
  133. }
  134. [MonoTODO]
  135. void IDomainSchema.Write (string schemaLocation)
  136. {
  137. throw new NotImplementedException ();
  138. }
  139. [MonoTODO]
  140. void IDomainSchema.Write (string schemaLocation, IXmlNamespaceResolver namespaceResolver)
  141. {
  142. throw new NotImplementedException ();
  143. }
  144. [MonoTODO]
  145. void IDomainSchema.Write (XmlWriter writer)
  146. {
  147. throw new NotImplementedException ();
  148. }
  149. [MonoTODO]
  150. void IDomainSchema.Write (XmlWriter writer, IXmlNamespaceResolver namespaceResolver)
  151. {
  152. throw new NotImplementedException ();
  153. }
  154. [MonoTODO]
  155. void IDomainSchema.Write (Stream stream)
  156. {
  157. throw new NotImplementedException ();
  158. }
  159. [MonoTODO]
  160. void IDomainSchema.Write (Stream stream, IXmlNamespaceResolver namespaceResolver)
  161. {
  162. throw new NotImplementedException ();
  163. }
  164. [MonoTODO]
  165. void IDomainSchema.Write (TextWriter writer)
  166. {
  167. throw new NotImplementedException ();
  168. }
  169. [MonoTODO]
  170. void IDomainSchema.Write (TextWriter writer, IXmlNamespaceResolver namespaceResolver)
  171. {
  172. throw new NotImplementedException ();
  173. }
  174. [MonoTODO]
  175. void IDomainSchema.WriteExtensions (XmlWriter reader)
  176. {
  177. throw new NotImplementedException ();
  178. }
  179. [MonoTODO]
  180. void IDomainSchema.WriteExtensions (XmlWriter reader, IXmlNamespaceResolver namespaceResolver)
  181. {
  182. throw new NotImplementedException ();
  183. }
  184. [MonoTODO]
  185. public void Read (string url)
  186. {
  187. throw new NotImplementedException ();
  188. }
  189. [MonoTODO]
  190. public void Read (string url, ValidationEventHandler validationEventHandler)
  191. {
  192. throw new NotImplementedException ();
  193. }
  194. [MonoTODO]
  195. public void Read (XmlReader reader)
  196. {
  197. throw new NotImplementedException ();
  198. }
  199. [MonoTODO]
  200. public void Read (XmlReader reader, ValidationEventHandler validationEventHandler)
  201. {
  202. throw new NotImplementedException ();
  203. }
  204. [MonoTODO]
  205. public void Reset ()
  206. {
  207. throw new NotImplementedException ();
  208. }
  209. [MonoTODO]
  210. public void Write (string schemaLocation)
  211. {
  212. throw new NotImplementedException ();
  213. }
  214. [MonoTODO]
  215. public void Write (string schemaLocation, IXmlNamespaceResolver namespaceResolver)
  216. {
  217. throw new NotImplementedException ();
  218. }
  219. [MonoTODO]
  220. public void Write (XmlWriter writer)
  221. {
  222. throw new NotImplementedException ();
  223. }
  224. [MonoTODO]
  225. public void Write (XmlWriter writer, IXmlNamespaceResolver namespaceResolver)
  226. {
  227. throw new NotImplementedException ();
  228. }
  229. [MonoTODO]
  230. public void Write (Stream stream)
  231. {
  232. throw new NotImplementedException ();
  233. }
  234. [MonoTODO]
  235. public void Write (Stream stream, IXmlNamespaceResolver namespaceResolver)
  236. {
  237. throw new NotImplementedException ();
  238. }
  239. [MonoTODO]
  240. public void Write (TextWriter writer)
  241. {
  242. throw new NotImplementedException ();
  243. }
  244. [MonoTODO]
  245. public void Write (TextWriter writer, IXmlNamespaceResolver namespaceResolver)
  246. {
  247. throw new NotImplementedException ();
  248. }
  249. #endregion // Methods
  250. }
  251. }
  252. #endif // NET_2_0