mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* System.Data.ObjectSpaces_test.dll.sources:
* Makefile:
Add stuff for tests
* System.Data.ObjectSpaces/PersistenceError.cs:
* System.Data.ObjectSpaces/PersistenceException.cs:
* System.Data.ObjectSpaces.Schema/ExtendedProperty.cs:
* System.Data.ObjectSpaces.Schema/ExtendedPropertyCollection.cs:
* System.Data.ObjectSpaces.Schema/ObjectRelationship.cs:
* System.Data.ObjectSpaces.Schema/ObjectRelationshipCollection.cs:
* System.Data.ObjectSpaces.Schema/ObjectRelationshipType.cs:
* System.Data.ObjectSpaces.Schema/SchemaClass.cs:
* System.Data.ObjectSpaces.Schema/SchemaClassCollection.cs:
* System.Data.ObjectSpaces.Schema/SchemaMember.cs:
* System.Data.ObjectSpaces.Schema/SchemaMemberCollection.cs:
* System.Data.ObjectSpaces.dll.sources:
New class stubs added
* System.Data.ObjectSpaces/CommonObjectContext.cs:
* System.Data.ObjectSpaces/ContextException.cs:
* System.Data.ObjectSpaces/DbObjectReader.cs:
* System.Data.ObjectSpaces/ObjectContext.cs:
* System.Data.ObjectSpaces/ObjectException.cs:
* System.Data.ObjectSpaces/ObjectKeyManager.cs:
* System.Data.ObjectSpaces/ObjectList.cs:
* System.Data.ObjectSpaces/OneToManyRelationship.cs:
* System.Data.ObjectSpaces/OneToOneRelationship.cs:
* System.Data.ObjectSpaces.Schema/ObjectSchema.cs:
Updates to make more correct
svn path=/trunk/mcs/; revision=20499
113 lines
2.0 KiB
C#
113 lines
2.0 KiB
C#
//
|
|
// System.Data.ObjectSpaces.Schema.SchemaMember.cs
|
|
//
|
|
// Author:
|
|
// Tim Coleman ([email protected])
|
|
//
|
|
// Copyright (C) Tim Coleman, 2003
|
|
//
|
|
|
|
#if NET_1_2
|
|
|
|
using System.Data.Mapping;
|
|
using System.Reflection;
|
|
|
|
namespace System.Data.ObjectSpaces.Schema {
|
|
public class SchemaMember : IDomainField
|
|
{
|
|
#region Fields
|
|
|
|
string alias;
|
|
bool isHidden;
|
|
bool isKey;
|
|
bool isLazyLoad;
|
|
KeyGenerator keyGenerator;
|
|
string name;
|
|
|
|
#endregion // Fields
|
|
|
|
#region Constructors
|
|
|
|
[MonoTODO]
|
|
public SchemaMember ()
|
|
{
|
|
}
|
|
|
|
[MonoTODO]
|
|
public SchemaMember (string name)
|
|
{
|
|
Name = name;
|
|
}
|
|
|
|
[MonoTODO]
|
|
public SchemaMember (string name, bool key)
|
|
: this (name)
|
|
{
|
|
IsKey = key;
|
|
}
|
|
|
|
#endregion // Constructors
|
|
|
|
#region Properties
|
|
|
|
public string Alias {
|
|
get { return alias; }
|
|
set { alias = value; }
|
|
}
|
|
|
|
[MonoTODO]
|
|
public SchemaClass DeclaringSchemaClass {
|
|
get { throw new NotImplementedException (); }
|
|
}
|
|
|
|
[MonoTODO]
|
|
public ExtendedPropertyCollection ExtendedProperties {
|
|
get { throw new NotImplementedException (); }
|
|
}
|
|
|
|
[MonoTODO]
|
|
private IDomainStructure IDomainField.DomainStructure {
|
|
get { throw new NotImplementedException (); }
|
|
}
|
|
|
|
public bool IsHidden {
|
|
get { return isHidden; }
|
|
set { isHidden = value; }
|
|
}
|
|
|
|
public bool IsKey {
|
|
get { return isKey; }
|
|
set { isKey = value; }
|
|
}
|
|
|
|
public bool IsLazyLoad {
|
|
get { return isLazyLoad; }
|
|
set { isLazyLoad = value; }
|
|
}
|
|
|
|
public KeyGenerator KeyGenerator {
|
|
get { return keyGenerator; }
|
|
set { keyGenerator = value; }
|
|
}
|
|
|
|
[MonoTODO]
|
|
public MemberInfo MemberInfo {
|
|
get { throw new NotImplementedException (); }
|
|
}
|
|
|
|
public string Name {
|
|
get { return name; }
|
|
set { name = value; }
|
|
}
|
|
|
|
[MonoTODO]
|
|
public ObjectRelationship ObjectRelationship {
|
|
get { throw new NotImplementedException (); }
|
|
}
|
|
|
|
#endregion // Properties
|
|
}
|
|
}
|
|
|
|
#endif // NET_1_2
|