czb

导航

just a test

Posted on 2010-01-26 20:45  czb  阅读(117)  评论(0)    收藏  举报

只是一个测试

ddfs wefwe
测试测试 cccc

 

Technorati 标签: .net,设计

哈哈

/// <summary>
		/// 根据patientID添加一个账户。
		/// </summary>
		/// <param name="patientID"></param>
		public void CreateAccount(string patientID)
		{
			InitialTrans();

			try
			{
				int serial = _GetIncreasedMzid("AI", 9999);

				mtDao.InsertAccountinfo(new Accountinfo(
					Server.LocalServices.GetSystemDate().ToString("yyMMdd")+serial.ToString(),
					patientID,
					"1",
					0M,
					null));
                
				df.Commit();
			}
			catch
			{
				df.Rollback();
				throw;
			}
		}