コード例 #1
0
        /// <summary>
        /// Create a new Configuration_Unit 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="address">Initial value of the Address property.</param>
        /// <param name="isActive">Initial value of the IsActive property.</param>
        /// <param name="id_Zone">Initial value of the Id_Zone property.</param>
        public static Configuration_Unit CreateConfiguration_Unit(global::System.Int32 id, global::System.String name, global::System.DateTime dateAdded, global::System.String address, global::System.Boolean isActive, global::System.Int32 id_Zone)
        {
            Configuration_Unit configuration_Unit = new Configuration_Unit();

            configuration_Unit.Id        = id;
            configuration_Unit.Name      = name;
            configuration_Unit.DateAdded = dateAdded;
            configuration_Unit.Address   = address;
            configuration_Unit.IsActive  = isActive;
            configuration_Unit.Id_Zone   = id_Zone;
            return(configuration_Unit);
        }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Configuration_Unit EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToConfiguration_Unit(Configuration_Unit configuration_Unit)
 {
     base.AddObject("Configuration_Unit", configuration_Unit);
 }
コード例 #3
0
 /// <summary>
 /// Create a new Configuration_Unit 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="address">Initial value of the Address property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 /// <param name="id_Zone">Initial value of the Id_Zone property.</param>
 public static Configuration_Unit CreateConfiguration_Unit(global::System.Int32 id, global::System.String name, global::System.DateTime dateAdded, global::System.String address, global::System.Boolean isActive, global::System.Int32 id_Zone)
 {
     Configuration_Unit configuration_Unit = new Configuration_Unit();
     configuration_Unit.Id = id;
     configuration_Unit.Name = name;
     configuration_Unit.DateAdded = dateAdded;
     configuration_Unit.Address = address;
     configuration_Unit.IsActive = isActive;
     configuration_Unit.Id_Zone = id_Zone;
     return configuration_Unit;
 }
コード例 #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Configuration_Unit EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToConfiguration_Unit(Configuration_Unit configuration_Unit)
 {
     base.AddObject("Configuration_Unit", configuration_Unit);
 }