/// <summary> /// Create a new Icon object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static Icon CreateIcon(global::System.Int32 id, global::System.String name, global::System.Byte[] rowVersion) { Icon icon = new Icon(); icon.Id = id; icon.Name = name; icon.RowVersion = rowVersion; return icon; }
/// <summary> /// Deprecated Method for adding a new object to the Icons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToIcons(Icon icon) { base.AddObject("Icons", icon); }