Example #1
0
    } // CreateOutcomeFramework

    public OutcomeFramework UpdateOutcomeFramework(Guid guid, OutcomeFramework update) {
      OutcomeFramework of = OutcomeFramework(guid);
      if (of == null)
        return null;

      of.CopyFrom(update);
      Commit(of);

      return of;
    } // UpdateOutcomeFramework
Example #2
0
    } // OutcomeFramework 
    
    public OutcomeFramework CreateOutcomeFramework(OutcomeFramework newOF) {
      OutcomeFramework of = new OutcomeFramework();
      of.Id = Guid.NewGuid();
      of.CopyFrom(newOF);

      context.OutcomeFrameworks.Add(of);
      Commit();

      return of;
    } // CreateOutcomeFramework