///<include file='docs.xml' path='doc/members/member[@name="M:GenericRepositoryAndService.Service.GenericService`1.UpdateCrypted(`0)"]/*'/> public void UpdateCrypted(T t) { T told = FindByIdExcludes(GenericToolsTypeAnalysis.GetKeysValues(t)); t = GenericToolsCRUDCrypt.CryptIfUpdated(told, t); Update(t); }
///<include file='docs.xml' path='doc/members/member[@name="M:GenericRepositoryAndService.Service.GenericService`1.UpdateOneCrypted(`0,System.String,System.Object)"]/*'/> public void UpdateOneCrypted(T t, string propertyName, object newValue) { T told = FindByIdExcludes(GenericToolsTypeAnalysis.GetKeysValues(t)); t = GenericToolsCRUDCrypt.CryptIfUpdatedOne(told, t, propertyName, newValue); UpdateOne(t, propertyName, newValue); }
///<include file='docs.xml' path='doc/members/member[@name="M:GenericRepositoryAndService.Service.GenericService`1.SaveCrypted(`0)"]/*'/> public void SaveCrypted(T t) { t = GenericToolsCRUDCrypt.Crypt(t); Save(t); }