/// <summary>
 ///  增加一条数据
 /// </summary>
 public int Insert(SqlTransaction sqltran, Entities.ProjectImportHistory model)
 {
     SqlParameter[] parameters =
     {
         new SqlParameter("@RecID",        SqlDbType.Int,       8),
         new SqlParameter("@ProjectID",    SqlDbType.Int,       8),
         new SqlParameter("@ImportNumber", SqlDbType.Int,       4),
         new SqlParameter("@CreateTime",   SqlDbType.DateTime),
         new SqlParameter("@CreateUserID", SqlDbType.Int, 4)
     };
     parameters[0].Direction = ParameterDirection.Output;
     parameters[1].Value     = model.ProjectID;
     parameters[2].Value     = model.ImportNumber;
     parameters[3].Value     = model.CreateTime;
     parameters[4].Value     = model.CreateUserID;
     SqlHelper.ExecuteNonQuery(sqltran, CommandType.StoredProcedure, P_PROJECTIMPORTHISTORY_INSERT, parameters);
     return((int)parameters[0].Value);
 }
 /// <summary>
 ///  增加一条数据
 /// </summary>
 public int Insert(SqlTransaction sqltran, Entities.ProjectImportHistory model)
 {
     return(Dal.ProjectImportHistory.Instance.Insert(sqltran, model));
 }
 /// <summary>
 ///  增加一条数据
 /// </summary>
 public int Insert(Entities.ProjectImportHistory model)
 {
     return(Dal.ProjectImportHistory.Instance.Insert(model));
 }