+++ /dev/null
-//
-// AssemblyInfo.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-// Marek Safar <marek.safar@gmail.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Reflection;
-using System.Resources;
-using System.Security;
-using System.Diagnostics;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about the System.Data.Linq assembly
-// v3.5 Assembly
-
-[assembly: AssemblyTitle ("System.Data.Linq.dll")]
-[assembly: AssemblyDescription ("System.Data.Linq.dll")]
-[assembly: AssemblyDefaultAlias ("System.Data.Linq.dll")]
-
-[assembly: AssemblyCompany (Consts.MonoCompany)]
-[assembly: AssemblyProduct (Consts.MonoProduct)]
-[assembly: AssemblyCopyright (Consts.MonoCopyright)]
-[assembly: AssemblyVersion (Consts.FxVersion)]
-[assembly: SatelliteContractVersion (Consts.FxVersion)]
-[assembly: AssemblyInformationalVersion (Consts.FxFileVersion)]
-[assembly: AssemblyFileVersion (Consts.FxFileVersion)]
-
-[assembly: NeutralResourcesLanguage ("en-US")]
-[assembly: CLSCompliant (true)]
-[assembly: AssemblyDelaySign (true)]
-[assembly: AssemblyKeyFile ("../ecma.pub")]
-
-[assembly: ComVisible (false)]
-[assembly: AllowPartiallyTrustedCallers]
-
+++ /dev/null
-2008-05-20 Marek Safar <marek.safar@gmail.com>
-
- * AssemblyInfo.cs: Clean up some attributes.
-
-2008-05-20 Atsushi Enomoto <atsushi@ximian.com>
-
- * AssemblyInfo.cs : refresh stub checkin.
-
+++ /dev/null
-2008-05-20 Atsushi Enomoto <atsushi@ximian.com>
-
- * System.Data.Linq.dll.sources :
- added System.Data.Linq.SqlClient* stubs.
-
-2008-05-20 Atsushi Enomoto <atsushi@ximian.com>
-
- * Makefile, System.Data.Linq.dll.sources : refresh stub checkin.
-
+++ /dev/null
-thisdir = class/System.Data.Linq
-SUBDIRS =
-include ../../build/rules.make
-
-LIBRARY = System.Data.Linq.dll
-LIB_MCS_FLAGS = \
- /r:System.dll \
- /r:System.Core.dll \
- /r:System.Data.dll \
- /r:System.Transactions.dll \
- /r:System.Xml.dll \
-
-NO_TEST = yes
-
-ifeq (2.0, $(FRAMEWORK_VERSION))
-# This is a .NET 3.5 only assembly, but built during the 2.0 build
-LIB_MCS_FLAGS += -d:NET_3_5
-endif
-
-include ../../build/library.make
+++ /dev/null
-//
-// AssociationAttribute.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.Mapping
-{
- [AttributeUsage (AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false)]
- public sealed class AssociationAttribute : DataAttribute
- {
- public bool DeleteOnNull { get; set; }
-
- public string DeleteRule { get; set; }
-
- public bool IsForeignKey { get; set; }
-
- public bool IsUnique { get; set; }
-
- public string OtherKey { get; set; }
-
- public string ThisKey { get; set; }
- }
-}
+++ /dev/null
-//
-// AttributeMappingSource.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.Mapping
-{
- public sealed class AttributeMappingSource : MappingSource
- {
- [MonoTODO]
- protected override MetaModel CreateModel (Type dataContextType)
- {
- throw new NotImplementedException ();
- }
- }
-}
+++ /dev/null
-//
-// AutoSync.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace System.Data.Linq.Mapping
-{
- public enum AutoSync
- {
- Default,
- Always,
- Never,
- OnInsert,
- OnUpdate
- }
-}
+++ /dev/null
-2008-05-20 Atsushi Enomoto <atsushi@ximian.com>
-
- * AssociationAttribute.cs
- AttributeMappingSource.cs
- AutoSync.cs
- ColumnAttribute.cs
- DataAttribute.cs
- DatabaseAttribute.cs
- FunctionAttribute.cs
- InheritanceMappingAttribute.cs
- MappingSource.cs
- MetaAccessor.cs
- MetaAccessor_2.cs
- MetaAssociation.cs
- MetaDataMember.cs
- MetaFunction.cs
- MetaModel.cs
- MetaParameter.cs
- MetaTable.cs
- MetaType.cs
- ParameterAttribute.cs
- ProviderAttribute.cs
- ResultTypeAttribute.cs
- TableAttribute.cs
- UpdateCheck.cs
- XmlMappingSource.cs : refresh stub checkin.
-
+++ /dev/null
-//
-// ColumnAttribute.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.Mapping
-{
- [AttributeUsage (AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false)]
- public sealed class ColumnAttribute : DataAttribute
- {
- public AutoSync AutoSync { get; set; }
- public bool CanBeNull { get; set; }
- public string DbType { get; set; }
- public string Expression { get; set; }
- public bool IsDbGenerated { get; set; }
- public bool IsDiscriminator { get; set; }
- public bool IsPrimaryKey { get; set; }
- public bool IsVersion { get; set; }
- public UpdateCheck UpdateCheck { get; set; }
- }
-}
+++ /dev/null
-//
-// DataAttribute.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.Mapping
-{
- public abstract class DataAttribute : Attribute
- {
- public string Name { get; set; }
- public string Storage { get; set; }
- }
-}
+++ /dev/null
-//
-// DatabaseAttribute.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.Mapping
-{
- [AttributeUsage (AttributeTargets.Class, AllowMultiple = false)]
- public sealed class DatabaseAttribute : Attribute
- {
- public string Name { get; set; }
- }
-}
+++ /dev/null
-//
-// FunctionAttribute.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Linq;
-using System.Linq.Expressions;
-
-namespace System.Data.Linq.Mapping
-{
- [AttributeUsage (AttributeTargets.Method, AllowMultiple = false)]
- public sealed class FunctionAttribute : Attribute
- {
- public bool IsComposable { get; set; }
- public string Name { get; set; }
- }
-}
+++ /dev/null
-//
-// InheritanceMappingAttribute.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.Mapping
-{
- [AttributeUsage (AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
- public sealed class InheritanceMappingAttribute : Attribute
- {
- public object Code { get; set; }
- public bool IsDefault { get; set; }
- public Type Type { get; set; }
- }
-}
+++ /dev/null
-//
-// MappingSource.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Linq;
-using System.Linq.Expressions;
-
-namespace System.Data.Linq.Mapping
-{
- public abstract class MappingSource
- {
- Dictionary<Type, MetaModel> sources = new Dictionary<Type, MetaModel> ();
-
- protected abstract MetaModel CreateModel (Type dataContextType);
-
- public MetaModel GetModel (Type dataContextType)
- {
- MetaModel m;
- if (!sources.TryGetValue (dataContextType, out m)) {
- m = CreateModel (dataContextType);
- sources [dataContextType] = m;
- }
- return m;
- }
-
- }
-}
+++ /dev/null
-//
-// MetaAccessor.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.Mapping
-{
- public abstract class MetaAccessor
- {
- public abstract Type Type { get; }
-
- public abstract object GetBoxedValue (object instance);
-
- [MonoTODO]
- public virtual bool HasAssignedValue (object instance)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public virtual bool HasLoadedValue (object instance)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public virtual bool HasValue (object instance)
- {
- throw new NotImplementedException ();
- }
-
- public abstract void SetBoxedValue (ref object instance, object value);
- }
-}
+++ /dev/null
-//
-// MetaAccessor_2.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.Mapping
-{
- public abstract class MetaAccessor<TEntity, TMember> : MetaAccessor
- {
- public override Type Type {
- get { return typeof (TEntity); }
- }
-
- public override object GetBoxedValue (object instance)
- {
- return GetValue ((TEntity) instance);
- }
-
- public abstract TMember GetValue (TEntity instance);
-
- public override void SetBoxedValue (ref object instance, object value)
- {
- TEntity ent = (TEntity) instance;
- SetValue (ref ent, (TMember) value);
- instance = ent;
- }
-
- public abstract void SetValue (ref TEntity instance, TMember value);
- }
-}
+++ /dev/null
-//
-// MetaAssociation.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections.ObjectModel;
-
-namespace System.Data.Linq.Mapping
-{
- public abstract class MetaAssociation
- {
- public abstract bool DeleteOnNull { get; }
- public abstract string DeleteRule { get; }
- public abstract bool IsForeignKey { get; }
- public abstract bool IsMany { get; }
- public abstract bool IsNullable { get; }
- public abstract bool IsUnique { get; }
- public abstract ReadOnlyCollection<MetaDataMember> OtherKey { get; }
- public abstract bool OtherKeyIsPrimaryKey { get; }
- public abstract MetaDataMember OtherMember { get; }
- public abstract MetaType OtherType { get; }
- public abstract ReadOnlyCollection<MetaDataMember> ThisKey { get; }
- public abstract bool ThisKeyIsPrimaryKey { get; }
- public abstract MetaDataMember ThisMember { get; }
- }
-}
+++ /dev/null
-//
-// MetaDataMember.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections.ObjectModel;
-using System.Reflection;
-
-namespace System.Data.Linq.Mapping
-{
- public abstract class MetaDataMember
- {
- public abstract MetaAssociation Association { get; }
- public abstract AutoSync AutoSync { get; }
- public abstract bool CanBeNull { get; }
- public abstract string DbType { get; }
- public abstract MetaType DeclaringType { get; }
- public abstract MetaAccessor DeferredSourceAccessor { get; }
- public abstract MetaAccessor DeferredValueAccessor { get; }
- public abstract string Expression { get; }
- public abstract bool IsAssociation { get; }
- public abstract bool IsDbGenerated { get; }
- public abstract bool IsDeferred { get; }
- public abstract bool IsDiscriminator { get; }
- public abstract bool IsPersistent { get; }
- public abstract bool IsPrimaryKey { get; }
- public abstract bool IsVersion { get; }
- public abstract MethodInfo LoadMethod { get; }
- public abstract string MappedName { get; }
- public abstract MemberInfo Member { get; }
- public abstract MetaAccessor MemberAccessor { get; }
- public abstract string Name { get; }
- public abstract int Ordinal { get; }
- public abstract MetaAccessor StorageAccessor { get; }
- public abstract MemberInfo StorageMember { get; }
- public abstract Type Type { get; }
- public abstract UpdateCheck UpdateCheck { get; }
-
- public abstract bool IsDeclaredBy (MetaType type);
- }
-}
+++ /dev/null
-//
-// MetaFunction.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections.ObjectModel;
-using System.Reflection;
-
-namespace System.Data.Linq.Mapping
-{
- public abstract class MetaFunction
- {
- public abstract bool HasMultipleResults { get; }
- public abstract bool IsComposable { get; }
- public abstract string MappedName { get; }
- public abstract MethodInfo Method { get; }
- public abstract MetaModel Model { get; }
- public abstract string Name { get; }
- public abstract ReadOnlyCollection<MetaParameter> Parameters { get; }
- public abstract ReadOnlyCollection<MetaType> ResultRowTypes { get; }
- public abstract MetaParameter ReturnParameter { get; }
- }
-}
+++ /dev/null
-//
-// MetaModel.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections.Generic;
-using System.Reflection;
-
-namespace System.Data.Linq.Mapping
-{
- public abstract class MetaModel
- {
- public abstract Type ContextType { get; }
- public abstract string DatabaseName { get; }
- public abstract MappingSource MappingSource { get; }
- public abstract Type ProviderType { get; }
-
- public abstract MetaFunction GetFunction (MethodInfo method);
- public abstract IEnumerable<MetaFunction> GetFunctions ();
- public abstract MetaType GetMetaType (Type type);
- public abstract MetaTable GetTable (Type rowType);
- public abstract IEnumerable<MetaTable> GetTables ();
- }
-}
+++ /dev/null
-//
-// MetaParameter.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections.Generic;
-using System.Reflection;
-
-namespace System.Data.Linq.Mapping
-{
- public abstract class MetaParameter
- {
- public abstract string DbType { get; }
- public abstract string MappedName { get; }
- public abstract string Name { get; }
- public abstract ParameterInfo Parameter { get; }
- public abstract Type ParameterType { get; }
- }
-}
+++ /dev/null
-//
-// MetaTable.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections.Generic;
-using System.Reflection;
-
-namespace System.Data.Linq.Mapping
-{
- public abstract class MetaTable
- {
- public abstract MethodInfo DeleteMethod { get; }
- public abstract MethodInfo InsertMethod { get; }
- public abstract MetaModel Model { get; }
- public abstract MetaType RowType { get; }
- public abstract string TableName { get; }
- public abstract MethodInfo UpdateMethod { get; }
- }
-}
+++ /dev/null
-//
-// MetaType.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Reflection;
-
-namespace System.Data.Linq.Mapping
-{
- public abstract class MetaType
- {
- public abstract ReadOnlyCollection<MetaAssociation> Associations { get; }
- public abstract bool CanInstantiate { get; }
- public abstract ReadOnlyCollection<MetaDataMember> DataMembers { get; }
- public abstract MetaDataMember DBGeneratedIdentityMember { get; }
- public abstract ReadOnlyCollection<MetaType> DerivedTypes { get; }
- public abstract MetaDataMember Discriminator { get; }
- public abstract bool HasAnyLoadMethod { get; }
- public abstract bool HasAnyValidateMethod { get; }
- public abstract bool HasInheritance { get; }
- public abstract bool HasInheritanceCode { get; }
- public abstract bool HasUpdateCheck { get; }
- public abstract ReadOnlyCollection<MetaDataMember> IdentityMembers { get; }
- public abstract MetaType InheritanceBase { get; }
- public abstract object InheritanceCode { get; }
- public abstract MetaType InheritanceDefault { get; }
- public abstract MetaType InheritanceRoot { get; }
- public abstract ReadOnlyCollection<MetaType> InheritanceTypes { get; }
- public abstract bool IsEntity { get; }
- public abstract bool IsInheritanceDefault { get; }
- public abstract MetaModel Model { get; }
- public abstract string Name { get; }
- public abstract MethodInfo OnLoadedMethod { get; }
- public abstract MethodInfo OnValidateMethod { get; }
- public abstract ReadOnlyCollection<MetaDataMember> PersistentDataMembers { get; }
- public abstract MetaTable Table { get; }
- public abstract Type Type { get; }
- public abstract MetaDataMember VersionMember { get; }
-
- public abstract MetaDataMember GetDataMember (MemberInfo member);
- public abstract MetaType GetInheritanceType (Type type);
- public abstract MetaType GetTypeForInheritanceCode (object code);
- }
-}
+++ /dev/null
-//
-// ParameterAttribute.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.Mapping
-{
- [AttributeUsage (AttributeTargets.Parameter|AttributeTargets.ReturnValue, AllowMultiple = false)]
- public sealed class ParameterAttribute : Attribute
- {
- public string DbType { get; set; }
- public string Name { get; set; }
- }
-}
+++ /dev/null
-//
-// ProviderAttribute.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.Mapping
-{
- [AttributeUsage (AttributeTargets.Class, AllowMultiple = false)]
- public sealed class ProviderAttribute : Attribute
- {
- public ProviderAttribute ()
- {
- }
-
- public ProviderAttribute (Type type)
- {
- if (type == null)
- throw new ArgumentNullException ("type");
- this.type = type;
- }
-
- Type type;
-
- public Type Type {
- get { return type; }
- }
- }
-}
+++ /dev/null
-//
-// ResultTypeAttribute.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.Mapping
-{
- [AttributeUsage (AttributeTargets.Method, AllowMultiple = true)]
- public sealed class ResultTypeAttribute : Attribute
- {
- public ResultTypeAttribute (Type type)
- {
- if (type == null)
- throw new ArgumentNullException ("type");
- this.type = type;
- }
-
- Type type;
-
- public Type Type {
- get { return type; }
- }
- }
-}
+++ /dev/null
-//
-// TableAttribute.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.Mapping
-{
- [AttributeUsage (AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
- public sealed class TableAttribute : Attribute
- {
- public string Name { get; set; }
- }
-}
+++ /dev/null
-//
-// UpdateCheck.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace System.Data.Linq.Mapping
-{
- public enum UpdateCheck
- {
- Always,
- Never,
- WhenChanged
- }
-}
+++ /dev/null
-//
-// XmlMappingSource.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.IO;
-using System.Xml;
-
-namespace System.Data.Linq.Mapping
-{
- public sealed class XmlMappingSource : MappingSource
- {
- XmlMappingSource ()
- {
- }
-
- [MonoTODO]
- public static XmlMappingSource FromReader (XmlReader reader)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static XmlMappingSource FromStream (Stream stream)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static XmlMappingSource FromUrl (string url)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static XmlMappingSource FromXml (string xml)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- protected override MetaModel CreateModel (Type dataContextType)
- {
- throw new NotImplementedException ();
- }
- }
-}
+++ /dev/null
-2008-05-20 Atsushi Enomoto <atsushi@ximian.com>
-
- * ObjectMaterializer.cs : stub.
+++ /dev/null
-//
-// ObjectMaterializer.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Data.Common;
-using System.Linq;
-
-namespace System.Data.Linq.SqlClient.Implementation
-{
- public abstract class ObjectMaterializer<TDataReader> where TDataReader : DbDataReader
- {
- [MonoTODO]
- public static IEnumerable<TOutput> Convert<TOutput> (IEnumerable source)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static IGrouping<TKey, TElement> CreateGroup<TKey, TElement> (TKey key, IEnumerable<TElement> items)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static IOrderedEnumerable<TElement> CreateOrderedEnumerable<TElement> (IEnumerable<TElement> items)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static Exception ErrorAssignmentToNull (Type type)
- {
- throw new NotImplementedException ();
- }
-
- // instance members
-
- [MonoTODO]
- public object [] Arguments;
-
- [MonoTODO]
- public DbDataReader BufferReader;
-
- [MonoTODO]
- public TDataReader DataReader;
-
- [MonoTODO]
- public object [] Globals;
-
- [MonoTODO]
- public object [] Locals;
-
- [MonoTODO]
- public int[] Ordinals;
-
- [MonoTODO]
- public abstract bool CanDeferLoad { get; }
-
- public abstract IEnumerable ExecuteSubQuery (int iSubQuery, object [] args);
- public abstract IEnumerable<T> GetLinkSource<T> (int globalLink, int localFactory, object [] keyValues);
- public abstract IEnumerable<T> GetNestedLinkSource<T> (int globalLink, int localFactory, object instance);
- public abstract object InsertLookup (int globalMetaType, object instance);
- public abstract bool Read ();
- public abstract void SendEntityMaterialized (int globalMetaType, object instance);
- }
-}
+++ /dev/null
-2008-05-20 Atsushi Enomoto <atsushi@ximian.com>
-
- * Sql2000Provider.cs, Sql2005Provider.cs, SqlHelpers.cs,
- SqlMethods.cs, SqlProvider.cs : stubs.
-
+++ /dev/null
-//
-// Sql2000Provider.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.SqlClient
-{
- [MonoTODO]
- public sealed class Sql2000Provider : SqlProvider
- {
- }
-}
+++ /dev/null
-//
-// Sql2000Provider.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.SqlClient
-{
- [MonoTODO]
- public sealed class Sql2005Provider : SqlProvider
- {
- }
-}
+++ /dev/null
-//
-// SqlHelpers.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.SqlClient
-{
- public static class SqlHelpers
- {
- [MonoTODO]
- public static string GetStringContainsPattern (string text, char escape)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static string GetStringEndsWithPattern (string text, char escape)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static string GetStringStartsWithPattern (string text, char escape)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static string TranslateVBLikePattern (string pattern, char escape)
- {
- throw new NotImplementedException ();
- }
- }
-}
+++ /dev/null
-//
-// SqlMethods.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.SqlClient
-{
- public static class SqlMethods
- {
- [MonoTODO]
- public static int DateDiffDay (DateTime startDate, DateTime endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffDay (DateTime? startDate, DateTime? endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int DateDiffHour (DateTime startDate, DateTime endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffHour (DateTime? startDate, DateTime? endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int DateDiffMillisecond (DateTime startDate, DateTime endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffMillisecond (DateTime? startDate, DateTime? endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int DateDiffMinute (DateTime startDate, DateTime endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffMinute (DateTime? startDate, DateTime? endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int DateDiffMonth (DateTime startDate, DateTime endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffMonth (DateTime? startDate, DateTime? endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int DateDiffSecond (DateTime startDate, DateTime endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffSecond (DateTime? startDate, DateTime? endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int DateDiffYear (DateTime startDate, DateTime endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffYear (DateTime? startDate, DateTime? endDate)
- {
- throw new NotImplementedException ();
- }
-
- #region .NET 3.5 SP1 (DateTimeOffset)
-
- [MonoTODO]
- public static int DateDiffMicrosecond (DateTime startDate, DateTime endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffMicrosecond (DateTime? startDate, DateTime? endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int DateDiffNanosecond (DateTime startDate, DateTime endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffNanosecond (DateTime? startDate, DateTime? endDate)
- {
- throw new NotImplementedException ();
- }
-
-
- [MonoTODO]
- public static int DateDiffDay (DateTimeOffset startDate, DateTimeOffset endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffDay (DateTimeOffset? startDate, DateTimeOffset? endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int DateDiffHour (DateTimeOffset startDate, DateTimeOffset endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffHour (DateTimeOffset? startDate, DateTimeOffset? endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int DateDiffMicrosecond (DateTimeOffset startDate, DateTimeOffset endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffMicrosecond (DateTimeOffset? startDate, DateTimeOffset? endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int DateDiffMillisecond (DateTimeOffset startDate, DateTimeOffset endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffMillisecond (DateTimeOffset? startDate, DateTimeOffset? endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int DateDiffMinute (DateTimeOffset startDate, DateTimeOffset endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffMinute (DateTimeOffset? startDate, DateTimeOffset? endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int DateDiffMonth (DateTimeOffset startDate, DateTimeOffset endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffMonth (DateTimeOffset? startDate, DateTimeOffset? endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int DateDiffNanosecond (DateTimeOffset startDate, DateTimeOffset endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffNanosecond (DateTimeOffset? startDate, DateTimeOffset? endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int DateDiffSecond (DateTimeOffset startDate, DateTimeOffset endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffSecond (DateTimeOffset? startDate, DateTimeOffset? endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int DateDiffYear (DateTimeOffset startDate, DateTimeOffset endDate)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static int? DateDiffYear (DateTimeOffset? startDate, DateTimeOffset? endDate)
- {
- throw new NotImplementedException ();
- }
- #endregion
-
- [MonoTODO]
- public static bool Like (string matchExpression, string pattern)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static bool Like (string matchExpression, string pattern, char escapeCharacter)
- {
- throw new NotImplementedException ();
- }
- }
-}
+++ /dev/null
-//
-// SqlProvider.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq.SqlClient
-{
- [MonoTODO]
- public class SqlProvider : IDisposable
- {
- public void Dispose ()
- {
- Dispose (true);
- }
-
- protected virtual void Dispose (bool disposing)
- {
- }
- }
-}
+++ /dev/null
-../../build/common/Consts.cs
-../../build/common/MonoTODOAttribute.cs
-Assembly/AssemblyInfo.cs
-System.Data.Linq.Mapping/AssociationAttribute.cs
-System.Data.Linq.Mapping/AttributeMappingSource.cs
-System.Data.Linq.Mapping/AutoSync.cs
-System.Data.Linq.Mapping/ColumnAttribute.cs
-System.Data.Linq.Mapping/DataAttribute.cs
-System.Data.Linq.Mapping/DatabaseAttribute.cs
-System.Data.Linq.Mapping/FunctionAttribute.cs
-System.Data.Linq.Mapping/InheritanceMappingAttribute.cs
-System.Data.Linq.Mapping/MappingSource.cs
-System.Data.Linq.Mapping/MetaAccessor.cs
-System.Data.Linq.Mapping/MetaAccessor_2.cs
-System.Data.Linq.Mapping/MetaAssociation.cs
-System.Data.Linq.Mapping/MetaDataMember.cs
-System.Data.Linq.Mapping/MetaFunction.cs
-System.Data.Linq.Mapping/MetaModel.cs
-System.Data.Linq.Mapping/MetaParameter.cs
-System.Data.Linq.Mapping/MetaTable.cs
-System.Data.Linq.Mapping/MetaType.cs
-System.Data.Linq.Mapping/ParameterAttribute.cs
-System.Data.Linq.Mapping/ProviderAttribute.cs
-System.Data.Linq.Mapping/ResultTypeAttribute.cs
-System.Data.Linq.Mapping/TableAttribute.cs
-System.Data.Linq.Mapping/UpdateCheck.cs
-System.Data.Linq.Mapping/XmlMappingSource.cs
-System.Data.Linq.SqlClient.Implementation/ObjectMaterializer.cs
-System.Data.Linq.SqlClient/Sql2000Provider.cs
-System.Data.Linq.SqlClient/Sql2005Provider.cs
-System.Data.Linq.SqlClient/SqlHelpers.cs
-System.Data.Linq.SqlClient/SqlMethods.cs
-System.Data.Linq.SqlClient/SqlProvider.cs
-System.Data.Linq/Binary.cs
-System.Data.Linq/ChangeAction.cs
-System.Data.Linq/ChangeConflictCollection.cs
-System.Data.Linq/ChangeConflictException.cs
-System.Data.Linq/ChangeSet.cs
-System.Data.Linq/CompiledQuery.cs
-System.Data.Linq/ConflictMode.cs
-System.Data.Linq/DBConvert.cs
-System.Data.Linq/DataContext.cs
-System.Data.Linq/DataLoadOptions.cs
-System.Data.Linq/DuplicateKeyException.cs
-System.Data.Linq/EntityRef.cs
-System.Data.Linq/EntitySet.cs
-System.Data.Linq/ForeignKeyReferenceAlreadyHasValueException.cs
-System.Data.Linq/IExecuteResult.cs
-System.Data.Linq/IFunctionResult.cs
-System.Data.Linq/IMultipleResults.cs
-System.Data.Linq/ISingleResult.cs
-System.Data.Linq/ITable.cs
-System.Data.Linq/Link.cs
-System.Data.Linq/MemberChangeConflict.cs
-System.Data.Linq/ModifiedMemberInfo.cs
-System.Data.Linq/ObjectChangeConflict.cs
-System.Data.Linq/RefreshMode.cs
-System.Data.Linq/Table.cs
+++ /dev/null
-//
-// Binary.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Linq;
-
-namespace System.Data.Linq
-{
- [SerializableAttribute]
-#if WCF_ENABLED
- [DataContractAttribute]
-#endif
- public sealed class Binary : IEquatable<Binary>
- {
- [MonoTODO]
- public Binary (byte [] value)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static bool operator == (Binary binary1, Binary binary2)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static bool operator != (Binary binary1, Binary binary2)
- {
- throw new NotImplementedException ();
- }
-
- public static implicit operator Binary (byte [] value)
- {
- return new Binary (value);
- }
-
- [MonoTODO]
- public int Length {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public bool Equals (Binary other)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public override bool Equals (object obj)
- {
- Binary other = obj as Binary;
- return other != null && Equals (other);
- }
-
- [MonoTODO]
- public override int GetHashCode ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public byte [] ToArray ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public override string ToString ()
- {
- throw new NotImplementedException ();
- }
- }
-}
+++ /dev/null
-//
-// ChangeAction.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace System.Data.Linq
-{
- public enum ChangeAction
- {
- None,
- Delete,
- Insert,
- Update
- }
-}
+++ /dev/null
-//
-// ChangeConflictCollection.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace System.Data.Linq
-{
- public sealed class ChangeConflictCollection : ICollection<ObjectChangeConflict>, ICollection, IEnumerable<ObjectChangeConflict>, IEnumerable
-
- {
- internal ChangeConflictCollection ()
- {
- }
-
- [MonoTODO]
- public int Count {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public ObjectChangeConflict this [int index] {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- bool ICollection<ObjectChangeConflict>.IsReadOnly {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- bool ICollection.IsSynchronized {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- object ICollection.SyncRoot {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public void Clear ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public bool Contains (ObjectChangeConflict item)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void CopyTo (ObjectChangeConflict [] array, int arrayIndex)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public IEnumerator<ObjectChangeConflict> GetEnumerator ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public bool Remove (ObjectChangeConflict item)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void ResolveAll (RefreshMode mode)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void ResolveAll (RefreshMode mode, bool autoResolveDeletes)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void ICollection<ObjectChangeConflict>.Add (ObjectChangeConflict item)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void ICollection.CopyTo (Array array, int index)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- IEnumerator IEnumerable.GetEnumerator ()
- {
- throw new NotImplementedException ();
- }
-
- }
-}
+++ /dev/null
-//
-// ChangeConflictException.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq
-{
- public class ChangeConflictException : Exception
- {
- public ChangeConflictException ()
- : this ("Change conflict occured")
- {
- }
-
- public ChangeConflictException (string message)
- : this (message, null)
- {
- }
-
- public ChangeConflictException (string message, Exception innerException)
- : base (message, innerException)
- {
- }
- }
-}
+++ /dev/null
-2008-05-20 Atsushi Enomoto <atsushi@ximian.com>
-
- * Binary.cs
- ChangeAction.cs
- ChangeConflictCollection.cs
- ChangeConflictException.cs
- ChangeSet.cs
- CompiledQuery.cs
- ConflictMode.cs
- DBConvert.cs
- DataContext.cs
- DataLoadOptions.cs
- DuplicateKeyException.cs
- EntityRef.cs
- EntitySet.cs
- ForeignKeyReferenceAlreadyHasValueException.cs
- IExecuteResult.cs
- IFunctionResult.cs
- IMultipleResults.cs
- ISingleResult.cs
- ITable.cs
- Link.cs
- MemberChangeConflict.cs
- ModifiedMemberInfo.cs
- ObjectChangeConflict.cs
- RefreshMode.cs
- Table.cs : refresh stub checkin.
+++ /dev/null
-//
-// ChangeSet.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections.Generic;
-
-namespace System.Data.Linq
-{
- public sealed class ChangeSet
- {
- internal ChangeSet ()
- {
- }
-
- [MonoTODO]
- public IList<object> Deletes {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public IList<object> Inserts {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public IList<object> Updates {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public override string ToString ()
- {
- throw new NotImplementedException ();
- }
- }
-}
+++ /dev/null
-//
-// ChangeSet.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Linq.Expressions;
-
-namespace System.Data.Linq
-{
- public sealed class CompiledQuery
- {
- [MonoTODO]
- public static Func<TArg0, TResult> Compile<TArg0, TResult> (Expression<Func<TArg0, TResult>> query)
- where TArg0 : DataContext
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static Func<TArg0, TArg1, TResult> Compile<TArg0, TArg1, TResult> (Expression<Func<TArg0, TArg1, TResult>> query)
- where TArg0 : DataContext
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static Func<TArg0, TArg1, TArg2, TResult> Compile<TArg0, TArg1, TArg2, TResult> (Expression<Func<TArg0, TArg1, TArg2, TResult>> query)
- where TArg0 : DataContext
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static Func<TArg0, TArg1, TArg2, TArg3, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TResult> (Expression<Func<TArg0, TArg1, TArg2, TArg3, TResult>> query)
- where TArg0 : DataContext
- {
- throw new NotImplementedException ();
- }
-
- internal CompiledQuery ()
- {
- }
-
- [MonoTODO]
- public LambdaExpression Expression {
- get { throw new NotImplementedException (); }
- }
- }
-}
+++ /dev/null
-//
-// ConflictMode.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace System.Data.Linq
-{
- public enum ConflictMode
- {
- FailOnFirstConflict,
- ContinueOnConflict
- }
-}
+++ /dev/null
-//
-// ConflictMode.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq
-{
- public static class DBConvert
- {
-
- [MonoTODO]
- public static T ChangeType<T> (object value)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public static object ChangeType (object value, Type type)
- {
- throw new NotImplementedException ();
- }
- }
-}
+++ /dev/null
-//
-// DataContext.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Data.Common;
-using System.Data.Linq.Mapping;
-using System.IO;
-using System.Linq;
-using System.Reflection;
-
-namespace System.Data.Linq
-{
- public class DataContext : IDisposable
- {
- [MonoTODO]
- public DataContext (IDbConnection connection)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public DataContext (string fileOrServerOrConnection)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public DataContext (IDbConnection connection, MappingSource mapping)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public DataContext (string fileOrServerOrConnection, MappingSource mapping)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public ChangeConflictCollection ChangeConflicts {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public int CommandTimeout {
- get { throw new NotImplementedException (); }
- set { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public DbConnection Connection {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public bool DeferredLoadingEnabled {
- get { throw new NotImplementedException (); }
- set { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public DataLoadOptions LoadOptions {
- get { throw new NotImplementedException (); }
- set { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public TextWriter Log {
- get { throw new NotImplementedException (); }
- set { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public MetaModel Mapping {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public bool ObjectTrackingEnabled {
- get { throw new NotImplementedException (); }
- set { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public DbTransaction Transaction {
- get { throw new NotImplementedException (); }
- set { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public void CreateDatabase ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- protected internal IQueryable<TResult> CreateMethodCallQuery<TResult> (object instance, MethodInfo methodInfo, params object [] parameters)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public bool DatabaseExists ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void DeleteDatabase ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void Dispose ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- protected virtual void Dispose (bool disposing)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public int ExecuteCommand (string command, params object [] parameters)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- protected internal void ExecuteDynamicDelete (object entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- protected internal void ExecuteDynamicInsert (object entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- protected internal void ExecuteDynamicUpdate (object entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- protected internal IExecuteResult ExecuteMethodCall (object instance, MethodInfo methodInfo, params object [] parameters)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public IEnumerable<TResult> ExecuteQuery<TResult> (string query, params object [] parameters)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public IEnumerable ExecuteQuery (Type elementType, string query, params object [] parameters)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public ChangeSet GetChangeSet ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public DbCommand GetCommand (IQueryable query)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public Table<TEntity> GetTable<TEntity> () where TEntity : class
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public ITable GetTable (Type type)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void Refresh (RefreshMode mode, IEnumerable entities)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void Refresh (RefreshMode mode, object entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void Refresh (RefreshMode mode, params object [] entities)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void SubmitChanges ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public virtual void SubmitChanges (ConflictMode failureMode)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public IEnumerable<TResult> Translate<TResult> (DbDataReader reader)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public IMultipleResults Translate (DbDataReader reader)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public IEnumerable Translate (Type elementType, DbDataReader reader)
- {
- throw new NotImplementedException ();
- }
- }
-}
+++ /dev/null
-//
-// DataLoadOptions.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Linq.Expressions;
-
-namespace System.Data.Linq
-{
- public sealed class DataLoadOptions
- {
- [MonoTODO]
- public void AssociateWith<T> (Expression<Func<T, object>> expression)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void AssociateWith (LambdaExpression expression)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void LoadWith<T> (Expression<Func<T, object>> expression)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void LoadWith (LambdaExpression expression)
- {
- throw new NotImplementedException ();
- }
- }
-}
+++ /dev/null
-//
-// DuplicateKeyException.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq
-{
- public class DuplicateKeyException : InvalidOperationException
- {
- public DuplicateKeyException (object duplicate)
- : this (duplicate, "Duplicate key was found")
- {
- }
-
- public DuplicateKeyException (object duplicate, string message)
- : this (duplicate, message, null)
- {
- }
-
- public DuplicateKeyException (object duplicate, string message, Exception innerException)
- : base (message, innerException)
- {
- this.duplicate = duplicate;
- }
-
- object duplicate;
-
- public object Object {
- get { return duplicate; }
- }
- }
-}
+++ /dev/null
-//
-// EntityRef.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections.Generic;
-
-namespace System.Data.Linq
-{
- public struct EntityRef<TEntity> where TEntity : class
- {
- [MonoTODO]
- public EntityRef (TEntity entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public EntityRef (IEnumerable<TEntity> source)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public EntityRef (EntityRef<TEntity> entityRef)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public TEntity Entity {
- get { throw new NotImplementedException (); }
- set { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public bool HasLoadedOrAssignedValue {
- get { throw new NotImplementedException (); }
- }
- }
-}
+++ /dev/null
-//
-// EntitySet.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Linq;
-using System.Linq.Expressions;
-
-namespace System.Data.Linq
-{
- public sealed class EntitySet<TEntity> : IList, ICollection, IList<TEntity>, ICollection<TEntity>, IEnumerable<TEntity>, IEnumerable, IListSource where TEntity : class
- {
- public EntitySet ()
- {
- }
-
- [MonoTODO]
- public EntitySet (Action<TEntity> onAdd, Action<TEntity> onRemove)
- {
- throw new NotImplementedException ();
- }
-
- public event ListChangedEventHandler ListChanged;
-
- [MonoTODO]
- public void Add (TEntity entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- int IList.Add (object value)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void AddRange (IEnumerable<TEntity> collection)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void Assign (IEnumerable<TEntity> entitySource)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void Clear ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public bool Contains (TEntity entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- bool IList.Contains (object value)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void CopyTo (TEntity [] array, int arrayIndex)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void ICollection.CopyTo (Array array, int index)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public IEnumerator<TEntity> GetEnumerator ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- IEnumerator IEnumerable.GetEnumerator ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- IList IListSource.GetList ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public IBindingList GetNewBindingList ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public int IndexOf (TEntity entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- int IList.IndexOf (object value)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void Insert (int index, TEntity entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void IList.Insert (int index, object value)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void Load ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public bool Remove (TEntity entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void IList.Remove (object value)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void RemoveAt (int index)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void SetSource (IEnumerable<TEntity> entitySource)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- bool IListSource.ContainsListCollection {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public int Count {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public bool HasLoadedOrAssignedValues {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public bool IsDeferred {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- bool IList.IsFixedSize {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- bool ICollection<TEntity>.IsReadOnly {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- bool IList.IsReadOnly {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- bool ICollection.IsSynchronized {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public TEntity this [int index] {
- get { throw new NotImplementedException (); }
- set { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- object IList.this [int index] {
- get { throw new NotImplementedException (); }
- set { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- object ICollection.SyncRoot {
- get { throw new NotImplementedException (); }
- }
- }
-}
+++ /dev/null
-//
-// ForeignKeyReferenceAlreadyHasValueException.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq
-{
- public class ForeignKeyReferenceAlreadyHasValueException
- : InvalidOperationException
- {
- public ForeignKeyReferenceAlreadyHasValueException ()
- : this ("Foreign key reference already has a value")
- {
- }
-
- public ForeignKeyReferenceAlreadyHasValueException (string message)
- : this (message, null)
- {
- }
-
- public ForeignKeyReferenceAlreadyHasValueException (string message, Exception innerException)
- : base (message, innerException)
- {
- }
- }
-}
+++ /dev/null
-//
-// IExecuteResult.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq
-{
- public interface IExecuteResult : IDisposable
- {
- object ReturnValue { get; }
-
- object GetParameterValue (int parameterIndex);
- }
-}
+++ /dev/null
-//
-// IFunctionResult.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-
-namespace System.Data.Linq
-{
- public interface IFunctionResult
- {
- object ReturnValue { get; }
- }
-}
+++ /dev/null
-//
-// IMultipleResults.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections.Generic;
-
-namespace System.Data.Linq
-{
- public interface IMultipleResults : IFunctionResult, IDisposable
- {
- IEnumerable<TElement> GetResult<TElement> ();
- }
-}
+++ /dev/null
-//
-// ISingleResult.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-namespace System.Data.Linq
-{
- public interface ISingleResult<T> : IEnumerable<T>, IEnumerable, IFunctionResult, IDisposable
- {
- }
-}
+++ /dev/null
-//
-// ITable.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections;
-using System.Linq;
-
-namespace System.Data.Linq
-{
- public interface ITable : IQueryable, IEnumerable
- {
- DataContext Context { get; }
- bool IsReadOnly { get; }
-
- void Attach (object entity);
- void Attach (object entity, bool asModified);
- void Attach (object entity, object original);
- void AttachAll (IEnumerable entities);
- void AttachAll (IEnumerable entities, bool asModified);
- void DeleteAllOnSubmit (IEnumerable entities);
- void DeleteOnSubmit (object entity);
- ModifiedMemberInfo [] GetModifiedMembers (object entity);
- object GetOriginalEntityState (object entity);
- void InsertAllOnSubmit (IEnumerable entities);
- void InsertOnSubmit (object entity);
- }
-}
+++ /dev/null
-//
-// Link.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections.Generic;
-using System.Reflection;
-
-namespace System.Data.Linq
-{
- public struct Link<T>
- {
- [MonoTODO]
- public Link (T value)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public Link (IEnumerable<T> source)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public Link (Link<T> link)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public bool HasLoadedOrAssignedValue {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public bool HasValue {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public T Value {
- get { throw new NotImplementedException (); }
- set { throw new NotImplementedException (); }
- }
- }
-}
+++ /dev/null
-//
-// MemberChangeConflict.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections.ObjectModel;
-using System.Reflection;
-
-namespace System.Data.Linq
-{
- public sealed class MemberChangeConflict
- {
- internal MemberChangeConflict ()
- {
- }
-
- [MonoTODO]
- public object CurrentValue {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public object DatabaseValue {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public bool IsModified {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public bool IsResolved {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public MemberInfo Member {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public object OriginalValue {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public void Resolve (object value)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void Resolve (RefreshMode refreshMode)
- {
- throw new NotImplementedException ();
- }
- }
-}
+++ /dev/null
-//
-// ModifiedMemberInfo.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Reflection;
-
-namespace System.Data.Linq
-{
- public struct ModifiedMemberInfo
- {
- [MonoTODO]
- public object CurrentValue {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public MemberInfo Member {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public object OriginalValue {
- get { throw new NotImplementedException (); }
- }
- }
-}
+++ /dev/null
-//
-// ObjectChangeConflict.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections.ObjectModel;
-using System.Reflection;
-
-namespace System.Data.Linq
-{
- public sealed class ObjectChangeConflict
- {
- internal ObjectChangeConflict ()
- {
- }
-
- [MonoTODO]
- public bool IsDeleted {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public bool IsResolved {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public ReadOnlyCollection<MemberChangeConflict> MemberConflicts {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public object Object {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public void Resolve ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void Resolve (RefreshMode refreshMode)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void Resolve (RefreshMode refreshMode, bool autoResolveDeletes)
- {
- throw new NotImplementedException ();
- }
- }
-}
+++ /dev/null
-//
-// RefreshMode.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace System.Data.Linq
-{
- public enum RefreshMode
- {
- KeepCurrentValues,
- KeepChanges,
- OverwriteCurrentValues
- }
-}
+++ /dev/null
-//
-// Table.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2008 Novell, Inc.
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Linq;
-using System.Linq.Expressions;
-
-namespace System.Data.Linq
-{
- public sealed class Table<TEntity> : IQueryable<TEntity>, IQueryProvider, IEnumerable<TEntity>, ITable, IQueryable, IEnumerable, IListSource where TEntity : class
- {
- internal Table ()
- {
- }
-
- [MonoTODO]
- public DataContext Context {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public bool IsReadOnly {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- bool IListSource.ContainsListCollection {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- Type IQueryable.ElementType {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- Expression IQueryable.Expression {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- IQueryProvider IQueryable.Provider {
- get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- public void Attach (TEntity entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void Attach (TEntity entity, bool asModified)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void Attach (TEntity entity, TEntity original)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void AttachAll<TSubEntity> (IEnumerable<TSubEntity> entities) where TSubEntity : TEntity
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void AttachAll<TSubEntity> (IEnumerable<TSubEntity> entities, bool asModified) where TSubEntity : TEntity
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void DeleteAllOnSubmit<TSubEntity> (IEnumerable<TSubEntity> entities) where TSubEntity : TEntity
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void DeleteOnSubmit (TEntity entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public IEnumerator<TEntity> GetEnumerator ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public IBindingList GetNewBindingList ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public ModifiedMemberInfo [] GetModifiedMembers (TEntity entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public TEntity GetOriginalEntityState (TEntity entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void InsertAllOnSubmit<TSubEntity> (IEnumerable<TSubEntity> entities) where TSubEntity : TEntity
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public void InsertOnSubmit (TEntity entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public override string ToString ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void ITable.Attach (object entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void ITable.Attach (object entity, bool asModified)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void ITable.Attach (object entity, object original)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void ITable.AttachAll (IEnumerable entities)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void ITable.AttachAll (IEnumerable entities, bool asModified)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void ITable.DeleteAllOnSubmit (IEnumerable entities)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void ITable.DeleteOnSubmit (object entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- ModifiedMemberInfo [] ITable.GetModifiedMembers (object entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- object ITable.GetOriginalEntityState (object entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void ITable.InsertAllOnSubmit (IEnumerable entities)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void ITable.InsertOnSubmit (object entity)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- IEnumerator<TEntity> IEnumerable<TEntity>.GetEnumerator ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- IEnumerator IEnumerable.GetEnumerator ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- IList IListSource.GetList ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- IQueryable<TResult> IQueryProvider.CreateQuery<TResult> (Expression expression)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- IQueryable IQueryProvider.CreateQuery (Expression expression)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- TResult IQueryProvider.Execute<TResult> (Expression expression)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- object IQueryProvider.Execute (Expression expression)
- {
- throw new NotImplementedException ();
- }
-
- }
-}