Acme.Northwind.EFDAL.DBHelper.GetCommand C# (CSharp) 메소드

GetCommand() 정적인 개인적인 메소드

static private GetCommand ( string commandText, CommandType commandType, IDbConnection connection ) : IDbCommand
commandText string
commandType CommandType
connection IDbConnection
리턴 IDbCommand
		internal static IDbCommand GetCommand(string commandText, CommandType commandType, IDbConnection connection)
		{
			var cmd = new SqlCommand(commandText);
			cmd.CommandType = commandType;
			cmd.Connection = (SqlConnection)connection;
			return cmd;
		}