queryallcity.cs

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

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

namespace Business_Logic
{
	/// <summary>
	/// QueryAllCity 的摘要说明。
	/// </summary>
	public class QueryAllCity
	{
		public QueryAllCity()
		{
			//
			// TODO: 在此处添加构造函数逻辑
			//
		}
		public static AllCity[] GetAllCity(string Pro)
		{
			if(Pro.Trim()==string.Empty)
			{
				return null;
			}
			else
			{
				Data_Access.DBAllCity proname = new Data_Access.DBAllCity();
				AllCity[] tproname = proname.GetAllCity(Pro);
				return tproname;
			}
		}
	}
}

⌨️ 快捷键说明

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