Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Resolutions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToResolutions(Resolution resolution)
 {
     base.AddObject("Resolutions", resolution);
 }
Example #2
0
 /// <summary>
 /// Create a new Resolution object.
 /// </summary>
 /// <param name="resolutionID">Initial value of the ResolutionID property.</param>
 /// <param name="width">Initial value of the Width property.</param>
 public static Resolution CreateResolution(global::System.Int64 resolutionID, global::System.Int32 width)
 {
     Resolution resolution = new Resolution();
     resolution.ResolutionID = resolutionID;
     resolution.Width = width;
     return resolution;
 }