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