예제 #1
0
 public BENews SelectAllInactive()
 {
     BENews ds = new BENews();
     DANewsTypes da = new DANewsTypes();
     da.SelectAllInactive(ds.tbl_NewsTypes);
     return ds;
 }
예제 #2
0
        public BENews SelectByNewsTypeName(string NewsTypeName)
        {
            BENews ds = new BENews();
            DANewsTypes da = new DANewsTypes();

            da.SelectByNewsTypeName(NewsTypeName, ds.tbl_NewsTypes);
            return ds;
        }
예제 #3
0
        public BENews SelectNewsTypeByID(int NewsTypeID)
        {
            BENews ds = new BENews();
            DANewsTypes da = new DANewsTypes();

            da.SelectByID(NewsTypeID.ToString(), ds.tbl_NewsTypes);
            return ds;
        }
예제 #4
0
 public void Update(BENews ds)
 {
     DANewsTypes da = new DANewsTypes();
     da.Update(ds.tbl_NewsTypes);
 }