Esempio n. 1
0
 public void Add(M_DownLoadAddress model)
 {
     SqlParameter[] commandParameters = new SqlParameter[] { new SqlParameter("@DownLoadDataId", SqlDbType.Int, 4), new SqlParameter("@AddressNum", SqlDbType.Int, 4), new SqlParameter("@DownLoadServerID", SqlDbType.Int, 4), new SqlParameter("@AddressName", SqlDbType.NVarChar), new SqlParameter("@AddressPath", SqlDbType.NVarChar), new SqlParameter("@AddressId", SqlDbType.Int, 4) };
     commandParameters[0].Value = model.DownLoadDataId;
     commandParameters[1].Value = model.AddressNum;
     commandParameters[2].Value = model.DownLoadServerID;
     commandParameters[3].Value = model.AddressName;
     commandParameters[4].Value = model.AddressPath;
     commandParameters[5].Value = model.AddressId;
     SqlHelper.ExecuteNonQuery(SqlHelper.ConnectionStringKy, CommandType.StoredProcedure, "Up_DownLoadAddress_Set", commandParameters);
 }
Esempio n. 2
0
 public void Update(M_DownLoadAddress model)
 {
     this.IDLA.Update(model);
 }
Esempio n. 3
0
 public void Add(M_DownLoadAddress model)
 {
     this.IDLA.Add(model);
 }
Esempio n. 4
0
 public void Update(M_DownLoadAddress model)
 {
     this.Add(model);
 }