Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Dimensions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDimensions(Dimension dimension)
 {
     base.AddObject("Dimensions", dimension);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Dimension object.
 /// </summary>
 /// <param name="dimensionID">Initial value of the DimensionID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="zoneID">Initial value of the ZoneID property.</param>
 public static Dimension CreateDimension(global::System.Int32 dimensionID, global::System.String name, global::System.Int32 zoneID)
 {
     Dimension dimension = new Dimension();
     dimension.DimensionID = dimensionID;
     dimension.Name = name;
     dimension.ZoneID = zoneID;
     return dimension;
 }