public virtual BOSelfReference MapEFToBO( SelfReference ef) { var bo = new BOSelfReference(); bo.SetProperties( ef.Id, ef.SelfReferenceId, ef.SelfReferenceId2); return(bo); }
public virtual BOSelfReference MapModelToBO( int id, ApiSelfReferenceRequestModel model ) { BOSelfReference boSelfReference = new BOSelfReference(); boSelfReference.SetProperties( id, model.SelfReferenceId, model.SelfReferenceId2); return(boSelfReference); }