querydetailinfo.cs

来自「火车订票系统 火车订票系统 火车订票系统」· CS 代码 · 共 33 行

CS
33
字号
using System;
using Data_Access;
using Data_Common;
using Model;

namespace Business_Logic
{
	/// <summary>
	/// QueryDetailInfo 的摘要说明。
	/// </summary>
	public class QueryDetailInfo
	{
		public QueryDetailInfo(){}


		public static Train_DetailInfo[] GetTrainDetailInfo(string TrainNO)
		{
			if(TrainNO.Trim()==string.Empty)
			{
				return null;
			}
			else
			{
				Data_Access.DBDetailInfo schedule = new Data_Access.DBDetailInfo();
				Train_DetailInfo[] tschedule=schedule.GetTrainDetailInfo(TrainNO);
				return tschedule;
			}
		}

	
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?