public virtual ApiPasswordResponseModel MapBOToModel( BOPassword boPassword) { var model = new ApiPasswordResponseModel(); model.SetProperties(boPassword.BusinessEntityID, boPassword.ModifiedDate, boPassword.PasswordHash, boPassword.PasswordSalt, boPassword.Rowguid); return(model); }
public virtual BOPassword MapEFToBO( Password ef) { var bo = new BOPassword(); bo.SetProperties( ef.BusinessEntityID, ef.ModifiedDate, ef.PasswordHash, ef.PasswordSalt, ef.Rowguid); return(bo); }
public virtual Password MapBOToEF( BOPassword bo) { Password efPassword = new Password(); efPassword.SetProperties( bo.BusinessEntityID, bo.ModifiedDate, bo.PasswordHash, bo.PasswordSalt, bo.Rowguid); return(efPassword); }
public virtual BOPassword MapModelToBO( int businessEntityID, ApiPasswordRequestModel model ) { BOPassword boPassword = new BOPassword(); boPassword.SetProperties( businessEntityID, model.ModifiedDate, model.PasswordHash, model.PasswordSalt, model.Rowguid); return(boPassword); }