Beispiel #1
0
 protected override void AddUpgradeHints(Collections.ISet <UpgradeHint> hints)
 {
     if (runningVersion == "2")
     {
         Version1To2Hints.ForEach(hint => hints.Add(hint));
     }
 }
 protected override void AddUpgradeHints(Collections.ISet <UpgradeHint> hints)
 {
     if (runningVersion == "2")
     {
         Version1To2Hints.ForEach(hint => hints.Add(hint));
         hints.Add(new RenameFieldHint(typeof(M2.Person), "Friend", "NewFriend"));
     }
 }
 protected override void AddUpgradeHints(global::Xtensive.Collections.ISet <UpgradeHint> hints)
 {
     if (runningVersion == "2")
     {
         Version1To2Hints.ForEach(hint => hints.Add(hint));
     }
     else if (runningVersion == "3")
     {
         return;
     }
 }