Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the settings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTosettings(setting setting)
 {
     base.AddObject("settings", setting);
 }
Example #2
0
 /// <summary>
 /// Create a new setting object.
 /// </summary>
 /// <param name="usp_latitude">Initial value of the usp_latitude property.</param>
 /// <param name="usp_longitude">Initial value of the usp_longitude property.</param>
 /// <param name="usp_gate1_latitude">Initial value of the usp_gate1_latitude property.</param>
 /// <param name="usp_gate1_longitude">Initial value of the usp_gate1_longitude property.</param>
 /// <param name="usp_gate2_latitude">Initial value of the usp_gate2_latitude property.</param>
 /// <param name="usp_gate2_longitude">Initial value of the usp_gate2_longitude property.</param>
 /// <param name="usp_gate3_latitude">Initial value of the usp_gate3_latitude property.</param>
 /// <param name="usp_gate3_longitude">Initial value of the usp_gate3_longitude property.</param>
 public static setting Createsetting(global::System.Int32 usp_latitude, global::System.Int32 usp_longitude, global::System.Int32 usp_gate1_latitude, global::System.Int32 usp_gate1_longitude, global::System.Int32 usp_gate2_latitude, global::System.Int32 usp_gate2_longitude, global::System.Int32 usp_gate3_latitude, global::System.Int32 usp_gate3_longitude)
 {
     setting setting = new setting();
     setting.usp_latitude = usp_latitude;
     setting.usp_longitude = usp_longitude;
     setting.usp_gate1_latitude = usp_gate1_latitude;
     setting.usp_gate1_longitude = usp_gate1_longitude;
     setting.usp_gate2_latitude = usp_gate2_latitude;
     setting.usp_gate2_longitude = usp_gate2_longitude;
     setting.usp_gate3_latitude = usp_gate3_latitude;
     setting.usp_gate3_longitude = usp_gate3_longitude;
     return setting;
 }