/// <summary> /// 共通処理 プログラム /// </summary> /// <param name="mpe"></param> /// <returns></returns> public bool M_Program_InitSelect(M_Program_Entity mpe) { M_Program_DL dl = new M_Program_DL(); DataTable dt = dl.M_Program_Select(mpe); if (dt.Rows.Count > 0) { mpe.ProgramName = dt.Rows[0]["ProgramName"].ToString(); mpe.Type = dt.Rows[0]["Type"].ToString(); return(true); } else { return(false); } }
public MasterTouroku_Program_BL() { mpd = new M_Program_DL(); }