Esempio n. 1
0
 /// <summary>
 /// Create a new Composition object.
 /// </summary>
 /// <param name="guid">Initial value of the guid property.</param>
 /// <param name="authorUserId">Initial value of the authorUserId property.</param>
 /// <param name="title">Initial value of the title property.</param>
 /// <param name="isShared">Initial value of the isShared property.</param>
 /// <param name="isFinished">Initial value of the isFinished property.</param>
 /// <param name="creation">Initial value of the creation property.</param>
 public static Composition CreateComposition(global::System.String guid, global::System.Int64 authorUserId, global::System.String title, global::System.Boolean isShared, global::System.Boolean isFinished, global::System.DateTime creation)
 {
     Composition composition = new Composition();
     composition.guid = guid;
     composition.authorUserId = authorUserId;
     composition.title = title;
     composition.isShared = isShared;
     composition.isFinished = isFinished;
     composition.creation = creation;
     return composition;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Composition EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToComposition(Composition composition)
 {
     base.AddObject("Composition", composition);
 }