Esempio n. 1
0
        /// <summary>
        /// Create a new ServicePlan object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="rowVersion">Initial value of the RowVersion property.</param>
        /// <param name="internationalDialing">Initial value of the InternationalDialing property.</param>
        /// <param name="voicePlan">Initial value of the VoicePlan property.</param>
        /// <param name="dataPlan">Initial value of the DataPlan property.</param>
        /// <param name="hotSpot">Initial value of the HotSpot property.</param>
        public static ServicePlan CreateServicePlan(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.Boolean internationalDialing, global::System.String voicePlan, global::System.String dataPlan, global::System.Boolean hotSpot)
        {
            ServicePlan servicePlan = new ServicePlan();

            servicePlan.Id                   = id;
            servicePlan.RowVersion           = rowVersion;
            servicePlan.InternationalDialing = internationalDialing;
            servicePlan.VoicePlan            = voicePlan;
            servicePlan.DataPlan             = dataPlan;
            servicePlan.HotSpot              = hotSpot;
            return(servicePlan);
        }
Esempio n. 2
0
 /// <summary>
 /// Create a new ServicePlan object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="internationalDialing">Initial value of the InternationalDialing property.</param>
 /// <param name="voicePlan">Initial value of the VoicePlan property.</param>
 /// <param name="dataPlan">Initial value of the DataPlan property.</param>
 /// <param name="hotSpot">Initial value of the HotSpot property.</param>
 public static ServicePlan CreateServicePlan(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.Boolean internationalDialing, global::System.String voicePlan, global::System.String dataPlan, global::System.Boolean hotSpot)
 {
     ServicePlan servicePlan = new ServicePlan();
     servicePlan.Id = id;
     servicePlan.RowVersion = rowVersion;
     servicePlan.InternationalDialing = internationalDialing;
     servicePlan.VoicePlan = voicePlan;
     servicePlan.DataPlan = dataPlan;
     servicePlan.HotSpot = hotSpot;
     return servicePlan;
 }
Esempio n. 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ServicePlans EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToServicePlans(ServicePlan servicePlan)
 {
     base.AddObject("ServicePlans", servicePlan);
 }
Esempio n. 4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ServicePlans EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToServicePlans(ServicePlan servicePlan)
 {
     base.AddObject("ServicePlans", servicePlan);
 }