/// <summary> /// Deprecated Method for adding a new object to the Scale EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToScale(Scale scale) { base.AddObject("Scale", scale); }
/// <summary> /// Create a new Scale object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> public static Scale CreateScale(global::System.Int32 id, global::System.String name) { Scale scale = new Scale(); scale.id = id; scale.name = name; return scale; }