/// <summary> /// Create a new Cnh object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="number">Initial value of the Number property.</param> /// <param name="category">Initial value of the Category property.</param> /// <param name="record">Initial value of the Record property.</param> /// <param name="emittedDate">Initial value of the EmittedDate property.</param> /// <param name="dueDate">Initial value of the DueDate property.</param> /// <param name="image">Initial value of the Image property.</param> public static Cnh CreateCnh(global::System.Int32 id, global::System.String number, global::System.String category, global::System.String record, global::System.DateTime emittedDate, global::System.DateTime dueDate, global::System.String image) { Cnh cnh = new Cnh(); cnh.Id = id; cnh.Number = number; cnh.Category = category; cnh.Record = record; cnh.EmittedDate = emittedDate; cnh.DueDate = dueDate; cnh.Image = image; return cnh; }
/// <summary> /// Deprecated Method for adding a new object to the Cnhs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCnhs(Cnh cnh) { base.AddObject("Cnhs", cnh); }