///<summary> ///拷贝构造函数 ///</summary> ///<param name="other">错误类</param> ///<returns></returns> public SqlError(EarthView.World.Core.Database.SqlError other) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueother = new BasePtr(other); list.Add("other", valueother.PtrVal); Create("CSqlError", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
///<summary> ///赋值操作符的重载 ///</summary> ///<param name="other">错误类</param> ///<returns></returns> public EarthView.World.Core.Database.SqlError OperatorAssign(EarthView.World.Core.Database.SqlError other) { IntPtr __ptr = EarthView_World_Core_Database_CSqlError_OperatorAssign_CSqlError_CSqlError(this.NativeObject, object.Equals(other, null) ? IntPtr.Zero : other.NativeObject); EarthView.World.Core.Database.SqlError csObj = new EarthView.World.Core.Database.SqlError(CreatedWhenConstruct.CWC_NotToCreate); csObj.BindNativeObject(__ptr, "CSqlError"); csObj.Delegate = true; IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName()); if (csObjClassFactory != null) { csObj.Delegate = true; csObj = csObjClassFactory.Create() as EarthView.World.Core.Database.SqlError; csObj.BindNativeObject(__ptr, "CSqlError"); csObj.Delegate = true; } return csObj; }