Remove Old comments
Remove unnecessary Disposes
This commit is contained in:
@@ -744,11 +744,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
RODb tmp = RODb.New(rOName, folderPath, dBConnectionString, config, dts, userID);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
RODb tmp2 = tmp;
|
||||
tmp = tmp2.Save();
|
||||
tmp2.Dispose();
|
||||
}
|
||||
tmp = tmp.Save();
|
||||
else
|
||||
{
|
||||
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();
|
||||
@@ -773,11 +769,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
RODb tmp = RODb.New(rOName, folderPath, dBConnectionString, config);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
RODb tmp2 = tmp;
|
||||
tmp = tmp2.Save();
|
||||
tmp2.Dispose();
|
||||
}
|
||||
tmp = tmp.Save();
|
||||
else
|
||||
{
|
||||
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();
|
||||
|
Reference in New Issue
Block a user