Remove Old comments

Remove unnecessary Disposes
This commit is contained in:
Rich
2012-06-01 17:08:16 +00:00
parent af5f3056d9
commit 869663b79c
71 changed files with 105 additions and 1482 deletions

View File

@@ -734,11 +734,7 @@ namespace VEPROMS.CSLA.Library
{
User tmp = User.New(userID, firstName, middleName, lastName, suffix, courtesyTitle, phoneNumber, cFGName, userLogin, userName, config, dts, usrID);
if (tmp.IsSavable)
{
User tmp2 = tmp;
tmp = tmp2.Save();
tmp2.Dispose();
}
tmp = tmp.Save();
else
{
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();
@@ -769,11 +765,7 @@ namespace VEPROMS.CSLA.Library
{
User tmp = User.New(firstName, middleName, lastName, suffix, courtesyTitle, phoneNumber, cFGName, userLogin, userName, config);
if (tmp.IsSavable)
{
User tmp2 = tmp;
tmp = tmp2.Save();
tmp2.Dispose();
}
tmp = tmp.Save();
else
{
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();