Exemple #1
0
        /// <summary>
        /// Create a new Configuration_Device object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="dateAdded">Initial value of the DateAdded property.</param>
        /// <param name="isActive">Initial value of the IsActive property.</param>
        /// <param name="id_Unit">Initial value of the Id_Unit property.</param>
        public static Configuration_Device CreateConfiguration_Device(global::System.Int32 id, global::System.String name, global::System.DateTime dateAdded, global::System.Boolean isActive, global::System.Int32 id_Unit)
        {
            Configuration_Device configuration_Device = new Configuration_Device();

            configuration_Device.Id        = id;
            configuration_Device.Name      = name;
            configuration_Device.DateAdded = dateAdded;
            configuration_Device.IsActive  = isActive;
            configuration_Device.Id_Unit   = id_Unit;
            return(configuration_Device);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the Configuration_Devices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToConfiguration_Devices(Configuration_Device configuration_Device)
 {
     base.AddObject("Configuration_Devices", configuration_Device);
 }
 /// <summary>
 /// Create a new Configuration_Device object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="dateAdded">Initial value of the DateAdded property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 /// <param name="id_Unit">Initial value of the Id_Unit property.</param>
 public static Configuration_Device CreateConfiguration_Device(global::System.Int32 id, global::System.String name, global::System.DateTime dateAdded, global::System.Boolean isActive, global::System.Int32 id_Unit)
 {
     Configuration_Device configuration_Device = new Configuration_Device();
     configuration_Device.Id = id;
     configuration_Device.Name = name;
     configuration_Device.DateAdded = dateAdded;
     configuration_Device.IsActive = isActive;
     configuration_Device.Id_Unit = id_Unit;
     return configuration_Device;
 }
Exemple #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Configuration_Devices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToConfiguration_Devices(Configuration_Device configuration_Device)
 {
     base.AddObject("Configuration_Devices", configuration_Device);
 }