• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# Db4objects类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中Db4objects的典型用法代码示例。如果您正苦于以下问题:C# Db4objects类的具体用法?C# Db4objects怎么用?C# Db4objects使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



Db4objects类属于命名空间,在下文中一共展示了Db4objects类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: ClassInfo

		public ClassInfo(bool isAbstract, Type superClass, Db4objects.Db4o.Reflect.Self.FieldInfo
			[] fieldInfo)
		{
			_isAbstract = isAbstract;
			_superClass = superClass;
			_fieldInfo = fieldInfo;
		}
开发者ID:bvangrinsven,项目名称:db4o-net,代码行数:7,代码来源:ClassInfo.cs


示例2: DeleteContextImpl

		public DeleteContextImpl(Db4objects.Db4o.Internal.StatefulBuffer buffer, ObjectHeader
			 objectHeader, IReflectClass fieldClass, Config4Field fieldConfig) : base(buffer
			.Transaction(), buffer, objectHeader)
		{
			_fieldClass = fieldClass;
			_fieldConfig = fieldConfig;
		}
开发者ID:bvangrinsven,项目名称:db4o-net,代码行数:7,代码来源:DeleteContextImpl.cs


示例3: OnEvent

			public void OnEvent(object sender, Db4objects.Db4o.Events.ClassEventArgs args)
			{
				ClassEventArgs classEventArgs = (ClassEventArgs)args;
				Assert.AreEqual(typeof(ClassRegistrationEventsTestCase.Data).FullName, CrossPlatformServices
					.SimpleName(classEventArgs.ClassMetadata().GetName()));
				eventFlag.eventOccurred = true;
			}
开发者ID:erdincay,项目名称:db4o,代码行数:7,代码来源:ClassRegistrationEventsTestCase.cs


示例4: PersistentIntegerArray

		public PersistentIntegerArray(Db4objects.Db4o.Internal.Slots.SlotChangeFactory slotChangeFactory
			, ITransactionalIdSystem idSystem, int[] arr) : base(idSystem)
		{
			_slotChangeFactory = slotChangeFactory;
			_ints = new int[arr.Length];
			System.Array.Copy(arr, 0, _ints, 0, arr.Length);
		}
开发者ID:erdincay,项目名称:db4o,代码行数:7,代码来源:PersistentIntegerArray.cs


示例5: NetConstructor

		public NetConstructor(Db4objects.Db4o.Reflect.IReflector reflector, System.Reflection.ConstructorInfo
			 constructor)
		{
			this.reflector = reflector;
			this.constructor = constructor;
			Db4objects.Db4o.Internal.Platform4.SetAccessible(constructor);
		}
开发者ID:erdincay,项目名称:db4o,代码行数:7,代码来源:NetConstructor.cs


示例6: SimpleItem

		public SimpleItem(SimpleListHolder parent_, Db4objects.Drs.Tests.Data.SimpleItem 
			child_, string value_)
		{
			parent = parent_;
			value = value_;
			child = child_;
		}
开发者ID:superyfwy,项目名称:db4o,代码行数:7,代码来源:SimpleItem.cs


示例7: StatefulBuffer

		public StatefulBuffer(Db4objects.Db4o.Internal.Transaction trans, int initialBufferSize
			)
		{
			_trans = trans;
			_length = initialBufferSize;
			_buffer = new byte[_length];
		}
开发者ID:bvangrinsven,项目名称:db4o-net,代码行数:7,代码来源:StatefulBuffer.cs


示例8: NQOptimizationInfo

		public NQOptimizationInfo(Db4objects.Db4o.Query.Predicate predicate, string message
			, object optimized)
		{
			this._predicate = predicate;
			this._message = message;
			this._optimized = optimized;
		}
开发者ID:bvangrinsven,项目名称:db4o-net,代码行数:7,代码来源:NQOptimizationInfo.cs


示例9: RemoveGreaterOrEqual

		internal static Tree RemoveGreaterOrEqual(Db4objects.Db4o.Internal.Freespace.FreeSlotNode
			 a_in, TreeIntObject a_finder)
		{
			if (a_in == null)
			{
				return null;
			}
			int cmp = a_in._key - a_finder._key;
			if (cmp == 0)
			{
				a_finder._object = a_in;
				// the highest node in the hierarchy !!!
				return a_in.Remove();
			}
			if (cmp > 0)
			{
				a_in._preceding = RemoveGreaterOrEqual((Db4objects.Db4o.Internal.Freespace.FreeSlotNode
					)((Tree)a_in._preceding), a_finder);
				if (a_finder._object != null)
				{
					a_in._size--;
					return a_in;
				}
				a_finder._object = a_in;
				return a_in.Remove();
			}
			a_in._subsequent = RemoveGreaterOrEqual((Db4objects.Db4o.Internal.Freespace.FreeSlotNode
				)((Tree)a_in._subsequent), a_finder);
			if (a_finder._object != null)
			{
				a_in._size--;
			}
			return a_in;
		}
开发者ID:Galigator,项目名称:db4o,代码行数:34,代码来源:FreeSlotNode.cs


示例10: ComplexFieldIndexItem

		public ComplexFieldIndexItem(int foo_, int bar_, Db4objects.Db4o.Tests.Common.Fieldindex.ComplexFieldIndexItem
			 child_)
		{
			foo = foo_;
			bar = bar_;
			child = child_;
		}
开发者ID:bvangrinsven,项目名称:db4o-net,代码行数:7,代码来源:ComplexFieldIndexItem.cs


示例11: TransactionalIdSystemImpl

		public TransactionalIdSystemImpl(IClosure4 freespaceManager, IClosure4 globalIdSystem
			, Db4objects.Db4o.Internal.Ids.TransactionalIdSystemImpl parentIdSystem)
		{
			_globalIdSystem = globalIdSystem;
			_slotChanges = new IdSlotChanges(this, freespaceManager);
			_parentIdSystem = parentIdSystem;
		}
开发者ID:bvangrinsven,项目名称:db4o-net,代码行数:7,代码来源:TransactionalIdSystemImpl.cs


示例12: DefragmentContextImpl

		public DefragmentContextImpl(Db4objects.Db4o.Internal.DefragmentContextImpl parentContext
			, ObjectHeader header)
		{
			_source = parentContext._source;
			_target = parentContext._target;
			_services = parentContext._services;
			_objectHeader = header;
		}
开发者ID:erdincay,项目名称:db4o,代码行数:8,代码来源:DefragmentContextImpl.cs


示例13: CreateIncludingRange

		public virtual IBTreeRange CreateIncludingRange(Db4objects.Db4o.Internal.Btree.BTreeNodeSearchResult
			 end)
		{
			BTreePointer firstPointer = FirstValidPointer();
			BTreePointer endPointer = end._foundMatch ? end._pointer.Next() : end.FirstValidPointer
				();
			return new BTreeRangeSingle(_transaction, _btree, firstPointer, endPointer);
		}
开发者ID:Orvid,项目名称:SQLInterfaceCollection,代码行数:8,代码来源:BTreeNodeSearchResult.cs


示例14: ContainsTheSame

		public bool ContainsTheSame(Db4objects.Db4o.Internal.ByteArrayBuffer other)
		{
			if (other != null)
			{
				return Arrays4.Equals(_buffer, other._buffer);
			}
			return false;
		}
开发者ID:superyfwy,项目名称:db4o,代码行数:8,代码来源:ByteArrayBuffer.cs


示例15: Transaction

		public Transaction(ObjectContainerBase container, Db4objects.Db4o.Internal.Transaction
			 systemTransaction, IReferenceSystem referenceSystem)
		{
			// contains DeleteInfo nodes
			_container = container;
			_systemTransaction = systemTransaction;
			_referenceSystem = referenceSystem;
		}
开发者ID:Orvid,项目名称:SQLInterfaceCollection,代码行数:8,代码来源:Transaction.cs


示例16: QQueryBase

		protected QQueryBase(Db4objects.Db4o.Internal.Transaction a_trans, QQuery a_parent
			, string a_field)
		{
			_this = Cast(this);
			_trans = a_trans;
			i_parent = a_parent;
			i_field = a_field;
		}
开发者ID:superyfwy,项目名称:db4o,代码行数:8,代码来源:QQueryBase.cs


示例17: OnEvent

			public void OnEvent(object sender, Db4objects.Db4o.Events.CancellableObjectEventArgs
				 objectInfo)
			{
				IObjectContainer container = ((CancellableObjectEventArgs)objectInfo).ObjectContainer
					();
				// this crashes if the MetaInfoWithEnum-class is unknown!
				container.Query(typeof(QueryInCallBackCSCallback.MetaInfo));
			}
开发者ID:superyfwy,项目名称:db4o,代码行数:8,代码来源:QueryInCallBackCSCallback.cs


示例18: MethodCallValue

		public MethodCallValue(IMethodRef method, Db4objects.Db4o.Instrumentation.Api.CallingConvention
			 callingConvention, IComparisonOperandAnchor parent, IComparisonOperand[] args) : 
			base(parent)
		{
			_method = method;
			_args = args;
			_callingConvention = callingConvention;
		}
开发者ID:bvangrinsven,项目名称:db4o-net,代码行数:8,代码来源:MethodCallValue.cs


示例19: Diff

			public Diff(Db4objects.Db4o.Internal.ClassMetadata classMetadata)
			{
				if (classMetadata == null)
				{
					throw new ArgumentNullException();
				}
				_classMetadata = classMetadata;
			}
开发者ID:erdincay,项目名称:db4o,代码行数:8,代码来源:HierarchyAnalyzer.cs


示例20: GenericClass

		public GenericClass(GenericReflector reflector, IReflectClass delegateClass, string
			 name, Db4objects.Db4o.Reflect.Generic.GenericClass superclass)
		{
			_reflector = reflector;
			_delegate = delegateClass;
			_name = name;
			_superclass = superclass;
			_hashCode = _name.GetHashCode();
		}
开发者ID:superyfwy,项目名称:db4o,代码行数:9,代码来源:GenericClass.cs



注:本文中的Db4objects类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# DbColumn类代码示例发布时间:2022-05-24
下一篇:
C# Db类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap