public void DeleteMediaReports_B(MediaReports obj)
        {
            StringBuilder sql = new StringBuilder();

            sql = SqlBuilder.Delete(obj);

            List<SqlParameter> parameter = new List<SqlParameter>()
            {
                new SqlParameter() {ParameterName = "@MediaReports_ID", Value= obj.MediaReports_ID}
            };

            ConnectDBToSendData(sql, parameter);
        }
        public void CreateMediaReports_B(MediaReports obj)
        {
            StringBuilder sql = new StringBuilder();
            sql = SqlBuilder.Insert(obj);

            List<SqlParameter> parameter = new List<SqlParameter>()
            {
                new SqlParameter() {ParameterName = "@MediaReports_Date", Value= obj.MediaReports_Date},
                new SqlParameter() {ParameterName = "@MediaReports_Detail", Value = obj.MediaReports_Detail},
                new SqlParameter() {ParameterName = "@MediaReports_Modificationdatetime", Value = obj.MediaReports_Modificationdatetime},
                new SqlParameter() {ParameterName = "@MediaReports_Modifier", Value = obj.MediaReports_Modifier},
                new SqlParameter() {ParameterName = "@MediaReports_Picture", Value = obj.MediaReports_Picture},
                new SqlParameter() {ParameterName = "@MediaReports_Title", Value = obj.MediaReports_Title}
            };

            ConnectDBToSendData(sql, parameter);
        }
 public object UpdateMediaReportsdata_B(MediaReports objPara)
 {
     BMDRModel.UpdateMediaReports_B(objPara);
     object objData = true;
     return objData;
 }