/// <summary> /// Create a new work_type object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> public static work_type Creatework_type(global::System.Int32 id, global::System.String name) { work_type work_type = new work_type(); work_type.id = id; work_type.name = name; return work_type; }
/// <summary> /// Deprecated Method for adding a new object to the work_type EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTowork_type(work_type work_type) { base.AddObject("work_type", work_type); }