/// <summary> /// Create a new LvType object. /// </summary> /// <param name="lvType1">Initial value of the LvType1 property.</param> /// <param name="lvDesc">Initial value of the LvDesc property.</param> /// <param name="fldName">Initial value of the FldName property.</param> /// <param name="halfLeave">Initial value of the HalfLeave property.</param> /// <param name="halfLvCode">Initial value of the HalfLvCode property.</param> /// <param name="halfAbCode">Initial value of the HalfAbCode property.</param> /// <param name="maxDays">Initial value of the MaxDays property.</param> /// <param name="workDays">Initial value of the WorkDays property.</param> /// <param name="vacDays">Initial value of the VacDays property.</param> /// <param name="monthProcess">Initial value of the MonthProcess property.</param> /// <param name="updateBalance">Initial value of the UpdateBalance property.</param> /// <param name="lvStatus">Initial value of the LvStatus property.</param> public static LvType CreateLvType(global::System.String lvType1, global::System.String lvDesc, global::System.String fldName, global::System.Boolean halfLeave, global::System.String halfLvCode, global::System.String halfAbCode, global::System.Byte maxDays, global::System.Boolean workDays, global::System.Boolean vacDays, global::System.Boolean monthProcess, global::System.Boolean updateBalance, global::System.Boolean lvStatus) { LvType lvType = new LvType(); lvType.LvType1 = lvType1; lvType.LvDesc = lvDesc; lvType.FldName = fldName; lvType.HalfLeave = halfLeave; lvType.HalfLvCode = halfLvCode; lvType.HalfAbCode = halfAbCode; lvType.MaxDays = maxDays; lvType.WorkDays = workDays; lvType.VacDays = vacDays; lvType.MonthProcess = monthProcess; lvType.UpdateBalance = updateBalance; lvType.LvStatus = lvStatus; return lvType; }
/// <summary> /// Deprecated Method for adding a new object to the LvTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLvTypes(LvType lvType) { base.AddObject("LvTypes", lvType); }