示例#1
0
 /// <summary>
 /// Create a new RedFlag object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="mSID">Initial value of the MSID property.</param>
 /// <param name="lastUpdated">Initial value of the LastUpdated property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="revision">Initial value of the Revision property.</param>
 /// <param name="drAllocationId">Initial value of the DrAllocationId property.</param>
 public static RedFlag CreateRedFlag(global::System.Int32 id, global::System.Int32 mSID, global::System.DateTime lastUpdated, global::System.DateTime created, global::System.Int32 revision, global::System.Int32 drAllocationId)
 {
     RedFlag redFlag = new RedFlag();
     redFlag.ID = id;
     redFlag.MSID = mSID;
     redFlag.LastUpdated = lastUpdated;
     redFlag.Created = created;
     redFlag.Revision = revision;
     redFlag.DrAllocationId = drAllocationId;
     return redFlag;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RedFlags EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRedFlags(RedFlag redFlag)
 {
     base.AddObject("RedFlags", redFlag);
 }