Esempio n. 1
0
 /// <summary>
 /// Create a new InformationArtifact object.
 /// </summary>
 /// <param name="artifactID">Initial value of the ArtifactID property.</param>
 /// <param name="priority">Initial value of the Priority property.</param>
 /// <param name="dateAdded">Initial value of the DateAdded property.</param>
 /// <param name="dateExpires">Initial value of the DateExpires property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 /// <param name="message">Initial value of the Message property.</param>
 /// <param name="author">Initial value of the Author property.</param>
 /// <param name="grouping">Initial value of the Grouping property.</param>
 public static InformationArtifact CreateInformationArtifact(global::System.Int32 artifactID, global::System.Int32 priority, global::System.DateTime dateAdded, global::System.DateTime dateExpires, global::System.String type, global::System.String message, global::System.String author, global::System.Int32 grouping)
 {
     InformationArtifact informationArtifact = new InformationArtifact();
     informationArtifact.ArtifactID = artifactID;
     informationArtifact.Priority = priority;
     informationArtifact.DateAdded = dateAdded;
     informationArtifact.DateExpires = dateExpires;
     informationArtifact.Type = type;
     informationArtifact.Message = message;
     informationArtifact.Author = author;
     informationArtifact.Grouping = grouping;
     return informationArtifact;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the InformationArtifacts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInformationArtifacts(InformationArtifact informationArtifact)
 {
     base.AddObject("InformationArtifacts", informationArtifact);
 }