当前位置: 首页>>代码示例>>C#>>正文


C# Sybase类代码示例

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


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

示例1: ue_set_quote

	public virtual void ue_set_quote(Sybase.PowerBuilder.PBString as_symbol)
	{
		#line hidden
		#line 1
		c__u_quotes_u002e_c__uo_quotebar_of_39875684(uo_quotebar, ref as_symbol);
		#line hidden
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:7,代码来源:u_quotes.cs

示例2: of_setpage

	public virtual void of_setpage(Sybase.PowerBuilder.PBInt ai_page)
	{
		#line hidden
		#line 1
		uo_navbar.of_setpage(ai_page);
		#line hidden
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:7,代码来源:u_header.cs

示例3: of_setvolumne

	public virtual void of_setvolumne(Sybase.PowerBuilder.PBDouble ad_volume)
	{
		#line hidden
		#line 1
		st_volume.Text = Sybase.PowerBuilder.Win.PBSystemFunctions.String((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(ad_volume))), new Sybase.PowerBuilder.PBString("#####.00"));
		#line hidden
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:7,代码来源:u_marketsummary.cs

示例4: of_set_quote

	public virtual void of_set_quote(Sybase.PowerBuilder.PBString as_symbol)
	{
		#line hidden
		#line 1
		sle_symbol.Text = as_symbol;
		#line hidden
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:7,代码来源:u_quotebar.cs

示例5: of_share

	public virtual Sybase.PowerBuilder.PBInt of_share(Sybase.PowerBuilder.WPF.PBDataStore ads_data)
	{
		#line hidden
		#line 1
		return ads_data.ShareData((Sybase.PowerBuilder.WPF.PBDataWindow)(dw_1));
		#line hidden
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:7,代码来源:gui_w_temp_w.cs

示例6: append

	public virtual Sybase.PowerBuilder.PBInt append(Sybase.PowerBuilder.PBString as_log)
	{
		#line hidden
		#line 13
		return new Sybase.PowerBuilder.PBInt(1);
		#line hidden
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:7,代码来源:util_n_logger_u.cs

示例7: of_is_current_page

	private Sybase.PowerBuilder.PBBoolean of_is_current_page(Sybase.PowerBuilder.PBInt ai_page)
	{
		#line hidden
		#line 1
		return ((c__u_basepage)iu_pages[(Sybase.PowerBuilder.PBLong)(ai_page)]).Visible;
		#line hidden
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:7,代码来源:gui_w_stocktrader_w.cs

示例8: Synchronize

 public override void Synchronize (Sybase.Persistence.ServerSyncData ssd)
 {
     object _userContext = new Sybase.Persistence.SynchronizationNotification();
     Sybase.Collections.GenericList<Sybase.Persistence.ISynchronizationGroup> _sgs = new Sybase.Collections.GenericList<Sybase.Persistence.ISynchronizationGroup>();
     _sgs.Add(CRMMobileDesaDB.GetSynchronizationGroup(ssd.Publication));
     CRMMobileDesaDB.BeginSynchronize(_sgs, _userContext);
 }
开发者ID:hihack,项目名称:CRM.Mobile,代码行数:7,代码来源:SISNotificationReader.cs

示例9: of_settsia

	public virtual void of_settsia(Sybase.PowerBuilder.PBDecimal ad_tsia)
	{
		#line hidden
		#line 1
		st_tsia.Text = Sybase.PowerBuilder.Win.PBSystemFunctions.String((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(ad_tsia))), new Sybase.PowerBuilder.PBString("####.00"));
		#line hidden
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:7,代码来源:u_marketsummary.cs

示例10: setmessage

	public virtual void setmessage(Sybase.PowerBuilder.PBString newmessage, Sybase.PowerBuilder.PBString a_classname)
	{
		#line hidden
		#line 1
		i_logger.of_log(a_classname, newmessage);
		#line hidden
		#line 2
		this.SetMessage(newmessage);
		#line hidden
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:10,代码来源:n_exception.cs

示例11: register

	public virtual c__accountdatabean register(Sybase.PowerBuilder.PBString userid, Sybase.PowerBuilder.PBString password, Sybase.PowerBuilder.PBString fullname, Sybase.PowerBuilder.PBString address, Sybase.PowerBuilder.PBString email, Sybase.PowerBuilder.PBString creditcard, Sybase.PowerBuilder.PBDecimal openbalance)
	{
		Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[7];
		System.Type[] __PBNIInteralArgTypes = new System.Type[7];
		bool[] __PBNIInteralArgsByRef = new bool[7];
		__PBNIInteralArgs[0] = userid;
		if ((object)userid == null)
			__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBString);
		else
			__PBNIInteralArgTypes[0] = userid.GetType();
		__PBNIInteralArgsByRef[0] = false;
		__PBNIInteralArgs[1] = password;
		if ((object)password == null)
			__PBNIInteralArgTypes[1] = typeof(Sybase.PowerBuilder.PBString);
		else
			__PBNIInteralArgTypes[1] = password.GetType();
		__PBNIInteralArgsByRef[1] = false;
		__PBNIInteralArgs[2] = fullname;
		if ((object)fullname == null)
			__PBNIInteralArgTypes[2] = typeof(Sybase.PowerBuilder.PBString);
		else
			__PBNIInteralArgTypes[2] = fullname.GetType();
		__PBNIInteralArgsByRef[2] = false;
		__PBNIInteralArgs[3] = address;
		if ((object)address == null)
			__PBNIInteralArgTypes[3] = typeof(Sybase.PowerBuilder.PBString);
		else
			__PBNIInteralArgTypes[3] = address.GetType();
		__PBNIInteralArgsByRef[3] = false;
		__PBNIInteralArgs[4] = email;
		if ((object)email == null)
			__PBNIInteralArgTypes[4] = typeof(Sybase.PowerBuilder.PBString);
		else
			__PBNIInteralArgTypes[4] = email.GetType();
		__PBNIInteralArgsByRef[4] = false;
		__PBNIInteralArgs[5] = creditcard;
		if ((object)creditcard == null)
			__PBNIInteralArgTypes[5] = typeof(Sybase.PowerBuilder.PBString);
		else
			__PBNIInteralArgTypes[5] = creditcard.GetType();
		__PBNIInteralArgsByRef[5] = false;
		__PBNIInteralArgs[6] = openbalance;
		if ((object)openbalance == null)
			__PBNIInteralArgTypes[6] = typeof(Sybase.PowerBuilder.PBDecimal);
		else
			__PBNIInteralArgTypes[6] = openbalance.GetType();
		__PBNIInteralArgsByRef[6] = false;
		Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new c__accountdatabean();
		_proxy.Invoke("<method name='register' ns='WebService' pbname='register'><return name='returnvalue' type='WebService.AccountDataBean' isRef='False' ArrayDim='0' IsNullableType='False' /><param name='userID' type='System.String' pos='0' dir='in' ArrayDim='0' IsNullableType='False'/><param name='password' type='System.String' pos='1' dir='in' ArrayDim='0' IsNullableType='False'/><param name='fullname' type='System.String' pos='2' dir='in' ArrayDim='0' IsNullableType='False'/><param name='address' type='System.String' pos='3' dir='in' ArrayDim='0' IsNullableType='False'/><param name='email' type='System.String' pos='4' dir='in' ArrayDim='0' IsNullableType='False'/><param name='creditcard' type='System.String' pos='5' dir='in' ArrayDim='0' IsNullableType='False'/><param name='openBalance' type='System.Decimal' pos='6' dir='in' ArrayDim='0' IsNullableType='False'/></method>", __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(c__accountdatabean));

		return (c__accountdatabean)__PBNIInteralReturn;
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:52,代码来源:tradeserviceasmx.cs

示例12: of_showmessage

	public virtual void of_showmessage(Sybase.PowerBuilder.PBBoolean ab_switch, Sybase.PowerBuilder.PBString as_message)
	{
		#line hidden
		#line 1
		st_message.Text = as_message;
		#line hidden
		#line 2
		st_message.Visible = ab_switch;
		#line hidden
		#line 3
		return;
		#line hidden
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:13,代码来源:u_basepage.cs

示例13: f_getquote

	public static Sybase.PowerBuilder.PBDecimal f_getquote(Sybase.PowerBuilder.PBString as_symbol)
	{
		#line hidden
		c__n_logger l_logger = null;
		Sybase.PowerBuilder.PBDecimal ldc_price = new Sybase.PowerBuilder.PBDecimal(0m);
		Sybase.PowerBuilder.PBException e = null;
		try
		{
			try
			{
				#line 7
				ldc_price.AssignFrom(c__stocktrader.GetCurrentApplication().gn_controller.of_get_current_price(as_symbol));
				#line hidden
				#line 8
				return ldc_price;
				#line hidden
			}
			catch (System.DivideByZeroException)
			{
				Sybase.PowerBuilder.PBRuntimeError.Throw(Sybase.PowerBuilder.RuntimeErrorCode.RT_R0001);
				throw new System.Exception();
			}
			catch (System.NullReferenceException)
			{
				Sybase.PowerBuilder.PBRuntimeError.Throw(Sybase.PowerBuilder.RuntimeErrorCode.RT_R0002);
				throw new System.Exception();
			}
			catch (System.IndexOutOfRangeException)
			{
				Sybase.PowerBuilder.PBRuntimeError.Throw(Sybase.PowerBuilder.RuntimeErrorCode.RT_R0003);
				throw new System.Exception();
			}
		}
		#line 9
		catch (Sybase.PowerBuilder.PBExceptionE __PB_TEMP_e__temp)
		#line hidden
		{
			e = __PB_TEMP_e__temp.E;
			#line 10
			l_logger = (c__n_logger)Sybase.PowerBuilder.WPF.PBSession.CurrentSession.CreateInstance(typeof(c__n_logger), 0);
			#line hidden
			#line 11
			l_logger.of_log(Sybase.PowerBuilder.PBFunction_Object.ClassName_FO(), e.GetMessage());
			#line hidden
			#line 12
			Sybase.PowerBuilder.WPF.PBSession.CurrentSession.DestroyObject(l_logger);
			#line hidden
		}
		return Sybase.PowerBuilder.PBDecimal.DefaultValue;
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:50,代码来源:dwo_f_getquote_f.cs

示例14: setdetails

	public virtual Sybase.PowerBuilder.PBString setdetails(Sybase.PowerBuilder.PBString details)
	{
		Sybase.PowerBuilder.IPBValue[] __PBNIInteralArgs = new Sybase.PowerBuilder.IPBValue[1];
		System.Type[] __PBNIInteralArgTypes = new System.Type[1];
		bool[] __PBNIInteralArgsByRef = new bool[1];
		__PBNIInteralArgs[0] = details;
		if ((object)details == null)
			__PBNIInteralArgTypes[0] = typeof(Sybase.PowerBuilder.PBString);
		else
			__PBNIInteralArgTypes[0] = details.GetType();
		__PBNIInteralArgsByRef[0] = false;
		Sybase.PowerBuilder.IPBValue __PBNIInteralReturn = new Sybase.PowerBuilder.PBString();
		_object.Invoke(3, __PBNIInteralArgs, __PBNIInteralArgTypes, __PBNIInteralArgsByRef, ref __PBNIInteralReturn, typeof(Sybase.PowerBuilder.PBString));

		return (Sybase.PowerBuilder.PBString)__PBNIInteralReturn;
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:16,代码来源:soapexception.cs

示例15: of_log

	public virtual Sybase.PowerBuilder.PBInt of_log(Sybase.PowerBuilder.PBString as_source, Sybase.PowerBuilder.PBString as_message)
	{
		#line hidden
		Sybase.PowerBuilder.PBInt li_filenumber = Sybase.PowerBuilder.PBInt.DefaultValue;
		Sybase.PowerBuilder.PBInt li_chars = Sybase.PowerBuilder.PBInt.DefaultValue;
		Sybase.PowerBuilder.PBString ls_message = Sybase.PowerBuilder.PBString.DefaultValue;
		#line 11
		if ((Sybase.PowerBuilder.PBBoolean)((((as_source == new Sybase.PowerBuilder.PBString(""))| (as_message == new Sybase.PowerBuilder.PBString("")))| Sybase.PowerBuilder.WPF.PBSystemFunctions.IsNull((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(as_source)))))| Sybase.PowerBuilder.WPF.PBSystemFunctions.IsNull((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(as_message))))))
		#line hidden
		{
			#line 12
			return new Sybase.PowerBuilder.PBInt(-1);
			#line hidden
		}
		#line 18
		li_filenumber = Sybase.PowerBuilder.WPF.PBSystemFunctions.FileOpen(is_logfile, (new Sybase.PowerBuilder.PBFileModeValue(Sybase.PowerBuilder.PBFileMode.LineMode)), (new Sybase.PowerBuilder.PBFileAccessValue(Sybase.PowerBuilder.PBFileAccess.Write)), (new Sybase.PowerBuilder.PBFileLockValue(Sybase.PowerBuilder.PBFileLock.LockWrite)), (new Sybase.PowerBuilder.PBWriteModeValue(Sybase.PowerBuilder.PBWriteMode.Append)), 
			(new Sybase.PowerBuilder.PBEncodingValue(Sybase.PowerBuilder.PBEncoding.EncodingUTF8)));
		#line hidden
		#line 20
		if ((Sybase.PowerBuilder.PBBoolean)(li_filenumber == new Sybase.PowerBuilder.PBInt(-1)))
		#line hidden
		{
			#line 20
			return new Sybase.PowerBuilder.PBInt(-2);
			#line hidden
		}
		#line 23
		ls_message = (new Sybase.PowerBuilder.PBString("***")+ Sybase.PowerBuilder.WPF.PBSystemFunctions.String((Sybase.PowerBuilder.PBAny)(((Sybase.PowerBuilder.PBAny)(Sybase.PowerBuilder.WPF.PBSystemFunctions.Today()))), new Sybase.PowerBuilder.PBString("dddd, mmmm dd yyyy hh:mm:ss")))+ new Sybase.PowerBuilder.PBString("***");
		#line hidden
		#line 25
		ls_message += new Sybase.PowerBuilder.PBString(" Object:")+ as_source;
		#line hidden
		#line 27
		ls_message += new Sybase.PowerBuilder.PBString(" Message:")+ as_message;
		#line hidden
		#line 29
		li_chars = (Sybase.PowerBuilder.PBInt)(Sybase.PowerBuilder.WPF.PBSystemFunctions.FileWriteEx(li_filenumber, ls_message));
		#line hidden
		#line 30
		Sybase.PowerBuilder.WPF.PBSystemFunctions.FileClose(li_filenumber);
		#line hidden
		#line 31
		return li_chars;
		#line hidden
	}
开发者ID:vactorwu,项目名称:catch23-project,代码行数:45,代码来源:dal_n_logger_u.cs


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