示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Flags EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFlags(Flag flag)
 {
     base.AddObject("Flags", flag);
 }
示例#2
0
 /// <summary>
 /// Create a new Flag object.
 /// </summary>
 /// <param name="flagID">Initial value of the FlagID property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="system">Initial value of the System property.</param>
 /// <param name="lastModified">Initial value of the LastModified property.</param>
 public static Flag CreateFlag(global::System.Decimal flagID, global::System.Int32 code, global::System.Boolean system, global::System.DateTime lastModified)
 {
     Flag flag = new Flag();
     flag.FlagID = flagID;
     flag.Code = code;
     flag.System = system;
     flag.LastModified = lastModified;
     return flag;
 }