/// <summary> /// Deprecated Method for adding a new object to the Flags EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFlags(Flag flag) { base.AddObject("Flags", flag); }
/// <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; }