public MorphBLL(MorphDAL dal) { this.MorphID = dal.MorphID; this.MorphName = dal.MorphName; this.Description = dal.Description; this.Het = dal.Het; }
public MorphBLL FindMorphByID(int MorphID) { MorphBLL rv = null; MorphDAL dal = ctx.FindMorphByID(MorphID); if (dal != null) { rv = new MorphBLL(dal); } return(rv); }