/// <summary> /// Erstellt ein neues Commit-Objekt. /// </summary> /// <param name="id">Anfangswert der Eigenschaft Id.</param> /// <param name="hash">Anfangswert der Eigenschaft Hash.</param> /// <param name="commitDate">Anfangswert der Eigenschaft CommitDate.</param> public static Commit CreateCommit(global::System.Int32 id, global::System.String hash, global::System.DateTime commitDate) { Commit commit = new Commit(); commit.Id = id; commit.Hash = hash; commit.CommitDate = commitDate; return commit; }
/// <summary> /// Veraltete Methode zum Hinzufügen eines neuen Objekts zum EntitySet 'Commits'. Verwenden Sie stattdessen die Methode '.Add' der zugeordneten Eigenschaft 'ObjectSet<T>'. /// </summary> public void AddToCommits(Commit commit) { base.AddObject("Commits", commit); }