示例#1
0
 public int DL_InsCityMaster(ML_City_Master objML_Default)
 {
     SqlParameter[] par = { new SqlParameter("@CityId",    objML_Default.CityId),
                            new SqlParameter("@CityName",  objML_Default.CityName),
                            new SqlParameter("@StateId",   objML_Default.StateId),
                            new SqlParameter("@CreatedBy", objML_Default.CreatedBy),
                            new SqlParameter("@ModifyBy",  objML_Default.ModifyBy) };
     return(SqlHelper.ExecuteNonQuery(con, "OSP_InsUpdCity", par));
 }
示例#2
0
 public DataTable BL_EditCity(ML_City_Master objML_Default)
 {
     return(objCity.DL_EditCity(objML_Default));
 }
示例#3
0
 public int BL_DeleteCity(ML_City_Master objML_Default)
 {
     return(objCity.DL_DeleteCity(objML_Default));
 }
示例#4
0
 public int BL_InsCityDetail(ML_City_Master objML_Default)
 {
     return(objCity.DL_InsCityMaster(objML_Default));
 }
示例#5
0
 public DataTable DL_EditCity(ML_City_Master objML_Default)
 {
     SqlParameter[] par = { new SqlParameter("@ID", objML_Default.CityId), };
     return(SqlHelper.ExecuteDataset(con, "SPCN_City_Edit", par).Tables[0]);
 }
示例#6
0
 public int DL_DeleteCity(ML_City_Master objML_Default)
 {
     SqlParameter[] par = { new SqlParameter("@ID", objML_Default.CityId), };
     return(SqlHelper.ExecuteNonQuery(con, "SPCN_City_Delete", par));
 }