ObjectSchema.cs 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  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. #if NET_1_2
  12. using System.Data.Mapping;
  13. using System.IO;
  14. using System.Xml;
  15. using System.Xml.Schema;
  16. namespace System.Data.ObjectSpaces.Schema {
  17. public class ObjectSchema : ICloneable, IDomainSchema
  18. {
  19. #region Fields
  20. string name;
  21. #endregion // Fields
  22. #region Constructors
  23. [MonoTODO]
  24. public ObjectSchema ()
  25. {
  26. }
  27. [MonoTODO]
  28. public ObjectSchema (string url)
  29. {
  30. }
  31. #endregion // Constructors
  32. #region Properties
  33. [MonoTODO]
  34. public SchemaClassCollection Classes {
  35. get { throw new NotImplementedException (); }
  36. }
  37. [MonoTODO]
  38. public ExtendedPropertyCollection ExtendedProperties {
  39. get { throw new NotImplementedException (); }
  40. }
  41. [MonoTODO]
  42. MappingDataSourceType IDomainSchema.DomainType {
  43. get { throw new NotImplementedException (); }
  44. }
  45. [MonoTODO ("Verify")]
  46. public string Name {
  47. get { return name; }
  48. set { name = value; }
  49. }
  50. [MonoTODO]
  51. public string Namespace {
  52. get { throw new NotImplementedException (); }
  53. }
  54. [MonoTODO]
  55. public ObjectRelationshipCollection Relationships {
  56. get { throw new NotImplementedException (); }
  57. }
  58. [MonoTODO]
  59. public string SourceUri {
  60. get { throw new NotImplementedException (); }
  61. }
  62. #endregion // Properties
  63. #region Methods
  64. [MonoTODO]
  65. public Object Clone ()
  66. {
  67. throw new NotImplementedException ();
  68. }
  69. [MonoTODO]
  70. public string GetSchemaXml ()
  71. {
  72. throw new NotImplementedException ();
  73. }
  74. [MonoTODO]
  75. IDomainConstraint IDomainSchema.GetDomainConstraint (string select, IXmlNamespaceResolver namespaces)
  76. {
  77. throw new NotImplementedException ();
  78. }
  79. [MonoTODO]
  80. IDomainStructure IDomainSchema.GetDomainStructure (string select, IXmlNamespaceResolver namespaces)
  81. {
  82. throw new NotImplementedException ();
  83. }
  84. [MonoTODO]
  85. void IDomainSchema.Read (string url)
  86. {
  87. throw new NotImplementedException ();
  88. }
  89. [MonoTODO]
  90. void IDomainSchema.Read (string url, ValidationEventHandler validationEventHandler)
  91. {
  92. throw new NotImplementedException ();
  93. }
  94. [MonoTODO]
  95. void IDomainSchema.Read (XmlReader reader)
  96. {
  97. throw new NotImplementedException ();
  98. }
  99. [MonoTODO]
  100. void IDomainSchema.Read (XmlReader reader, ValidationEventHandler validationEventHandler)
  101. {
  102. throw new NotImplementedException ();
  103. }
  104. [MonoTODO]
  105. void IDomainSchema.ReadExtensions (XmlReader reader)
  106. {
  107. throw new NotImplementedException ();
  108. }
  109. [MonoTODO]
  110. void IDomainSchema.ReadExtensions (XmlReader reader, ValidationEventHandler validationEventHandler)
  111. {
  112. throw new NotImplementedException ();
  113. }
  114. [MonoTODO]
  115. void IDomainSchema.Write (string schemaLocation)
  116. {
  117. throw new NotImplementedException ();
  118. }
  119. [MonoTODO]
  120. void IDomainSchema.Write (string schemaLocation, IXmlNamespaceResolver namespaceResolver)
  121. {
  122. throw new NotImplementedException ();
  123. }
  124. [MonoTODO]
  125. void IDomainSchema.Write (XmlWriter writer)
  126. {
  127. throw new NotImplementedException ();
  128. }
  129. [MonoTODO]
  130. void IDomainSchema.Write (XmlWriter writer, IXmlNamespaceResolver namespaceResolver)
  131. {
  132. throw new NotImplementedException ();
  133. }
  134. [MonoTODO]
  135. void IDomainSchema.Write (Stream stream)
  136. {
  137. throw new NotImplementedException ();
  138. }
  139. [MonoTODO]
  140. void IDomainSchema.Write (Stream stream, IXmlNamespaceResolver namespaceResolver)
  141. {
  142. throw new NotImplementedException ();
  143. }
  144. [MonoTODO]
  145. void IDomainSchema.Write (TextWriter writer)
  146. {
  147. throw new NotImplementedException ();
  148. }
  149. [MonoTODO]
  150. void IDomainSchema.Write (TextWriter writer, IXmlNamespaceResolver namespaceResolver)
  151. {
  152. throw new NotImplementedException ();
  153. }
  154. [MonoTODO]
  155. void IDomainSchema.WriteExtensions (XmlWriter reader)
  156. {
  157. throw new NotImplementedException ();
  158. }
  159. [MonoTODO]
  160. void IDomainSchema.WriteExtensions (XmlWriter reader, IXmlNamespaceResolver namespaceResolver)
  161. {
  162. throw new NotImplementedException ();
  163. }
  164. [MonoTODO]
  165. public void Read (string url)
  166. {
  167. throw new NotImplementedException ();
  168. }
  169. [MonoTODO]
  170. public void Read (string url, ValidationEventHandler validationEventHandler)
  171. {
  172. throw new NotImplementedException ();
  173. }
  174. [MonoTODO]
  175. public void Read (XmlReader reader)
  176. {
  177. throw new NotImplementedException ();
  178. }
  179. [MonoTODO]
  180. public void Read (XmlReader reader, ValidationEventHandler validationEventHandler)
  181. {
  182. throw new NotImplementedException ();
  183. }
  184. [MonoTODO]
  185. public void Reset ()
  186. {
  187. throw new NotImplementedException ();
  188. }
  189. [MonoTODO]
  190. public void Write (string schemaLocation)
  191. {
  192. throw new NotImplementedException ();
  193. }
  194. [MonoTODO]
  195. public void Write (string schemaLocation, IXmlNamespaceResolver namespaceResolver)
  196. {
  197. throw new NotImplementedException ();
  198. }
  199. [MonoTODO]
  200. public void Write (XmlWriter writer)
  201. {
  202. throw new NotImplementedException ();
  203. }
  204. [MonoTODO]
  205. public void Write (XmlWriter writer, IXmlNamespaceResolver namespaceResolver)
  206. {
  207. throw new NotImplementedException ();
  208. }
  209. [MonoTODO]
  210. public void Write (Stream stream)
  211. {
  212. throw new NotImplementedException ();
  213. }
  214. [MonoTODO]
  215. public void Write (Stream stream, IXmlNamespaceResolver namespaceResolver)
  216. {
  217. throw new NotImplementedException ();
  218. }
  219. [MonoTODO]
  220. public void Write (TextWriter writer)
  221. {
  222. throw new NotImplementedException ();
  223. }
  224. [MonoTODO]
  225. public void Write (TextWriter writer, IXmlNamespaceResolver namespaceResolver)
  226. {
  227. throw new NotImplementedException ();
  228. }
  229. #endregion // Methods
  230. }
  231. }
  232. #endif // NET_1_2