public BENews SelectAllInactive() { BENews ds = new BENews(); DANewsTypes da = new DANewsTypes(); da.SelectAllInactive(ds.tbl_NewsTypes); return ds; }
public BENews SelectByNewsTypeName(string NewsTypeName) { BENews ds = new BENews(); DANewsTypes da = new DANewsTypes(); da.SelectByNewsTypeName(NewsTypeName, ds.tbl_NewsTypes); return ds; }
public BENews SelectNewsTypeByID(int NewsTypeID) { BENews ds = new BENews(); DANewsTypes da = new DANewsTypes(); da.SelectByID(NewsTypeID.ToString(), ds.tbl_NewsTypes); return ds; }
public void Update(BENews ds) { DANewsTypes da = new DANewsTypes(); da.Update(ds.tbl_NewsTypes); }