public virtual BOIncludedColumnTest MapEFToBO( IncludedColumnTest ef) { var bo = new BOIncludedColumnTest(); bo.SetProperties( ef.Id, ef.Name, ef.Name2); return(bo); }
public virtual BOIncludedColumnTest MapModelToBO( int id, ApiIncludedColumnTestRequestModel model ) { BOIncludedColumnTest boIncludedColumnTest = new BOIncludedColumnTest(); boIncludedColumnTest.SetProperties( id, model.Name, model.Name2); return(boIncludedColumnTest); }