SchemaMember.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. //
  2. // System.Data.ObjectSpaces.Schema.SchemaMember.cs
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2003
  8. //
  9. #if NET_1_2
  10. using System.Data.Mapping;
  11. using System.Reflection;
  12. namespace System.Data.ObjectSpaces.Schema {
  13. public class SchemaMember : IDomainField
  14. {
  15. #region Fields
  16. string alias;
  17. bool isHidden;
  18. bool isKey;
  19. bool isLazyLoad;
  20. KeyGenerator keyGenerator;
  21. string name;
  22. #endregion // Fields
  23. #region Constructors
  24. [MonoTODO]
  25. public SchemaMember ()
  26. {
  27. }
  28. [MonoTODO]
  29. public SchemaMember (string name)
  30. {
  31. Name = name;
  32. }
  33. [MonoTODO]
  34. public SchemaMember (string name, bool key)
  35. : this (name)
  36. {
  37. IsKey = key;
  38. }
  39. #endregion // Constructors
  40. #region Properties
  41. public string Alias {
  42. get { return alias; }
  43. set { alias = value; }
  44. }
  45. [MonoTODO]
  46. public SchemaClass DeclaringSchemaClass {
  47. get { throw new NotImplementedException (); }
  48. }
  49. [MonoTODO]
  50. public ExtendedPropertyCollection ExtendedProperties {
  51. get { throw new NotImplementedException (); }
  52. }
  53. [MonoTODO]
  54. IDomainStructure IDomainField.DomainStructure {
  55. get { throw new NotImplementedException (); }
  56. }
  57. public bool IsHidden {
  58. get { return isHidden; }
  59. set { isHidden = value; }
  60. }
  61. public bool IsKey {
  62. get { return isKey; }
  63. set { isKey = value; }
  64. }
  65. public bool IsLazyLoad {
  66. get { return isLazyLoad; }
  67. set { isLazyLoad = value; }
  68. }
  69. public KeyGenerator KeyGenerator {
  70. get { return keyGenerator; }
  71. set { keyGenerator = value; }
  72. }
  73. [MonoTODO]
  74. public MemberInfo MemberInfo {
  75. get { throw new NotImplementedException (); }
  76. }
  77. public string Name {
  78. get { return name; }
  79. set { name = value; }
  80. }
  81. [MonoTODO]
  82. public ObjectRelationship ObjectRelationship {
  83. get { throw new NotImplementedException (); }
  84. }
  85. #endregion // Properties
  86. }
  87. }
  88. #endif // NET_1_2