Exemplo n.º 1
0
 /// <summary>
 /// Create a new Employee object.
 /// </summary>
 /// <param name="clocksIn">Initial value of the ClocksIn property.</param>
 /// <param name="deniedAccess">Initial value of the DeniedAccess property.</param>
 /// <param name="noDrawer">Initial value of the NoDrawer property.</param>
 /// <param name="fullTime">Initial value of the FullTime property.</param>
 /// <param name="deleted">Initial value of the Deleted property.</param>
 /// <param name="editInvoicePrices">Initial value of the EditInvoicePrices property.</param>
 /// <param name="editCustAccData">Initial value of the EditCustAccData property.</param>
 /// <param name="cashOutAccounts">Initial value of the CashOutAccounts property.</param>
 /// <param name="logTransactions">Initial value of the LogTransactions property.</param>
 /// <param name="editCustDisc">Initial value of the EditCustDisc property.</param>
 /// <param name="canVoidInvoices">Initial value of the CanVoidInvoices property.</param>
 /// <param name="canCloseDay">Initial value of the CanCloseDay property.</param>
 /// <param name="noCouponAdj">Initial value of the NoCouponAdj property.</param>
 /// <param name="cannotCloseDrawers">Initial value of the CannotCloseDrawers property.</param>
 /// <param name="cannotPrintAudit">Initial value of the CannotPrintAudit property.</param>
 /// <param name="canAdjustAccounts">Initial value of the CanAdjustAccounts property.</param>
 /// <param name="canPrintDailyReport">Initial value of the CanPrintDailyReport property.</param>
 /// <param name="cannotPrintDrawer">Initial value of the CannotPrintDrawer property.</param>
 /// <param name="cannotMakeChange">Initial value of the CannotMakeChange property.</param>
 /// <param name="cannotCashCheck">Initial value of the CannotCashCheck property.</param>
 /// <param name="cannotDisburseCash">Initial value of the CannotDisburseCash property.</param>
 /// <param name="cannotAddCash">Initial value of the CannotAddCash property.</param>
 /// <param name="cannotViewTimeCard">Initial value of the CannotViewTimeCard property.</param>
 /// <param name="canEditInvoices">Initial value of the CanEditInvoices property.</param>
 /// <param name="cannotEditEmployees">Initial value of the CannotEditEmployees property.</param>
 /// <param name="cannotDeleteEmployees">Initial value of the CannotDeleteEmployees property.</param>
 /// <param name="cannotEditTimeCards">Initial value of the CannotEditTimeCards property.</param>
 /// <param name="cannotEditEmpAccess">Initial value of the CannotEditEmpAccess property.</param>
 /// <param name="cannotEditEmpCashDrawer">Initial value of the CannotEditEmpCashDrawer property.</param>
 /// <param name="cannotEditPriceList">Initial value of the CannotEditPriceList property.</param>
 /// <param name="cannotEditDepartments">Initial value of the CannotEditDepartments property.</param>
 /// <param name="cannotEditCategories">Initial value of the CannotEditCategories property.</param>
 /// <param name="cannotEditGarments">Initial value of the CannotEditGarments property.</param>
 /// <param name="cannotEditUpcharges">Initial value of the CannotEditUpcharges property.</param>
 /// <param name="cannotEditDiscountsFees">Initial value of the CannotEditDiscountsFees property.</param>
 /// <param name="cannotEditMerchandise">Initial value of the CannotEditMerchandise property.</param>
 /// <param name="cannotPrintManagerRpts">Initial value of the CannotPrintManagerRpts property.</param>
 /// <param name="cannotPrintEmpLog">Initial value of the CannotPrintEmpLog property.</param>
 /// <param name="cannotPrintSales">Initial value of the CannotPrintSales property.</param>
 /// <param name="cannotPrintFinancials">Initial value of the CannotPrintFinancials property.</param>
 /// <param name="cannotPrintTracking">Initial value of the CannotPrintTracking property.</param>
 /// <param name="cannotPrintDrawers">Initial value of the CannotPrintDrawers property.</param>
 /// <param name="empTimeOut">Initial value of the EmpTimeOut property.</param>
 /// <param name="cannotDoPhysical">Initial value of the CannotDoPhysical property.</param>
 /// <param name="cannotSetupEmail">Initial value of the CannotSetupEmail property.</param>
 /// <param name="canLowerPricesOnEdit">Initial value of the CanLowerPricesOnEdit property.</param>
 /// <param name="editCustSalesTax">Initial value of the EditCustSalesTax property.</param>
 /// <param name="editCustCheckWrite">Initial value of the EditCustCheckWrite property.</param>
 /// <param name="canInventoryBillOut">Initial value of the CanInventoryBillOut property.</param>
 /// <param name="canAddRemoveGarmentsOnEdit">Initial value of the CanAddRemoveGarmentsOnEdit property.</param>
 /// <param name="canAssignCustPLevels">Initial value of the CanAssignCustPLevels property.</param>
 /// <param name="canSelectPLevelsInvoicing">Initial value of the CanSelectPLevelsInvoicing property.</param>
 /// <param name="canSelectPLevelsEditing">Initial value of the CanSelectPLevelsEditing property.</param>
 /// <param name="canEditCCOnFile">Initial value of the CanEditCCOnFile property.</param>
 /// <param name="canMPSBrowse">Initial value of the CanMPSBrowse property.</param>
 /// <param name="canIssueVoidCCDebitsCredits">Initial value of the CanIssueVoidCCDebitsCredits property.</param>
 /// <param name="isWinUser">Initial value of the IsWinUser property.</param>
 /// <param name="isLocked">Initial value of the IsLocked property.</param>
 /// <param name="canDeleteCustomers">Initial value of the CanDeleteCustomers property.</param>
 /// <param name="canEditCustEmail">Initial value of the CanEditCustEmail property.</param>
 /// <param name="canSendACustomerEmail">Initial value of the CanSendACustomerEmail property.</param>
 /// <param name="canEditLoyaltyPts">Initial value of the CanEditLoyaltyPts property.</param>
 /// <param name="canEditCustInvoiceSettings">Initial value of the CanEditCustInvoiceSettings property.</param>
 /// <param name="canViewCustActivity">Initial value of the CanViewCustActivity property.</param>
 /// <param name="canIssueAwardCards">Initial value of the CanIssueAwardCards property.</param>
 /// <param name="canReloadAwardCards">Initial value of the CanReloadAwardCards property.</param>
 /// <param name="canReloadPurchaseCards">Initial value of the CanReloadPurchaseCards property.</param>
 /// <param name="canVoidGiftTransactions">Initial value of the CanVoidGiftTransactions property.</param>
 /// <param name="cannotViewLocations">Initial value of the CannotViewLocations property.</param>
 /// <param name="canAddGarmentsOnEdit">Initial value of the CanAddGarmentsOnEdit property.</param>
 /// <param name="canRemoveGarmentsOnEdit">Initial value of the CanRemoveGarmentsOnEdit property.</param>
 public static Employee CreateEmployee(global::System.Boolean clocksIn, global::System.Boolean deniedAccess, global::System.Boolean noDrawer, global::System.Boolean fullTime, global::System.Boolean deleted, global::System.Boolean editInvoicePrices, global::System.Boolean editCustAccData, global::System.Boolean cashOutAccounts, global::System.Boolean logTransactions, global::System.Boolean editCustDisc, global::System.Boolean canVoidInvoices, global::System.Boolean canCloseDay, global::System.Boolean noCouponAdj, global::System.Boolean cannotCloseDrawers, global::System.Boolean cannotPrintAudit, global::System.Boolean canAdjustAccounts, global::System.Boolean canPrintDailyReport, global::System.Boolean cannotPrintDrawer, global::System.Boolean cannotMakeChange, global::System.Boolean cannotCashCheck, global::System.Boolean cannotDisburseCash, global::System.Boolean cannotAddCash, global::System.Boolean cannotViewTimeCard, global::System.Boolean canEditInvoices, global::System.Boolean cannotEditEmployees, global::System.Boolean cannotDeleteEmployees, global::System.Boolean cannotEditTimeCards, global::System.Boolean cannotEditEmpAccess, global::System.Boolean cannotEditEmpCashDrawer, global::System.Boolean cannotEditPriceList, global::System.Boolean cannotEditDepartments, global::System.Boolean cannotEditCategories, global::System.Boolean cannotEditGarments, global::System.Boolean cannotEditUpcharges, global::System.Boolean cannotEditDiscountsFees, global::System.Boolean cannotEditMerchandise, global::System.Boolean cannotPrintManagerRpts, global::System.Boolean cannotPrintEmpLog, global::System.Boolean cannotPrintSales, global::System.Boolean cannotPrintFinancials, global::System.Boolean cannotPrintTracking, global::System.Boolean cannotPrintDrawers, global::System.Int32 empTimeOut, global::System.Boolean cannotDoPhysical, global::System.Boolean cannotSetupEmail, global::System.Boolean canLowerPricesOnEdit, global::System.Boolean editCustSalesTax, global::System.Boolean editCustCheckWrite, global::System.Boolean canInventoryBillOut, global::System.Boolean canAddRemoveGarmentsOnEdit, global::System.Boolean canAssignCustPLevels, global::System.Boolean canSelectPLevelsInvoicing, global::System.Boolean canSelectPLevelsEditing, global::System.Boolean canEditCCOnFile, global::System.Boolean canMPSBrowse, global::System.Boolean canIssueVoidCCDebitsCredits, global::System.Boolean isWinUser, global::System.Boolean isLocked, global::System.Boolean canDeleteCustomers, global::System.Boolean canEditCustEmail, global::System.Boolean canSendACustomerEmail, global::System.Boolean canEditLoyaltyPts, global::System.Boolean canEditCustInvoiceSettings, global::System.Boolean canViewCustActivity, global::System.Boolean canIssueAwardCards, global::System.Boolean canReloadAwardCards, global::System.Boolean canReloadPurchaseCards, global::System.Boolean canVoidGiftTransactions, global::System.Boolean cannotViewLocations, global::System.Boolean canAddGarmentsOnEdit, global::System.Boolean canRemoveGarmentsOnEdit)
 {
     Employee employee = new Employee();
     employee.ClocksIn = clocksIn;
     employee.DeniedAccess = deniedAccess;
     employee.NoDrawer = noDrawer;
     employee.FullTime = fullTime;
     employee.Deleted = deleted;
     employee.EditInvoicePrices = editInvoicePrices;
     employee.EditCustAccData = editCustAccData;
     employee.CashOutAccounts = cashOutAccounts;
     employee.LogTransactions = logTransactions;
     employee.EditCustDisc = editCustDisc;
     employee.CanVoidInvoices = canVoidInvoices;
     employee.CanCloseDay = canCloseDay;
     employee.NoCouponAdj = noCouponAdj;
     employee.CannotCloseDrawers = cannotCloseDrawers;
     employee.CannotPrintAudit = cannotPrintAudit;
     employee.CanAdjustAccounts = canAdjustAccounts;
     employee.CanPrintDailyReport = canPrintDailyReport;
     employee.CannotPrintDrawer = cannotPrintDrawer;
     employee.CannotMakeChange = cannotMakeChange;
     employee.CannotCashCheck = cannotCashCheck;
     employee.CannotDisburseCash = cannotDisburseCash;
     employee.CannotAddCash = cannotAddCash;
     employee.CannotViewTimeCard = cannotViewTimeCard;
     employee.CanEditInvoices = canEditInvoices;
     employee.CannotEditEmployees = cannotEditEmployees;
     employee.CannotDeleteEmployees = cannotDeleteEmployees;
     employee.CannotEditTimeCards = cannotEditTimeCards;
     employee.CannotEditEmpAccess = cannotEditEmpAccess;
     employee.CannotEditEmpCashDrawer = cannotEditEmpCashDrawer;
     employee.CannotEditPriceList = cannotEditPriceList;
     employee.CannotEditDepartments = cannotEditDepartments;
     employee.CannotEditCategories = cannotEditCategories;
     employee.CannotEditGarments = cannotEditGarments;
     employee.CannotEditUpcharges = cannotEditUpcharges;
     employee.CannotEditDiscountsFees = cannotEditDiscountsFees;
     employee.CannotEditMerchandise = cannotEditMerchandise;
     employee.CannotPrintManagerRpts = cannotPrintManagerRpts;
     employee.CannotPrintEmpLog = cannotPrintEmpLog;
     employee.CannotPrintSales = cannotPrintSales;
     employee.CannotPrintFinancials = cannotPrintFinancials;
     employee.CannotPrintTracking = cannotPrintTracking;
     employee.CannotPrintDrawers = cannotPrintDrawers;
     employee.EmpTimeOut = empTimeOut;
     employee.CannotDoPhysical = cannotDoPhysical;
     employee.CannotSetupEmail = cannotSetupEmail;
     employee.CanLowerPricesOnEdit = canLowerPricesOnEdit;
     employee.EditCustSalesTax = editCustSalesTax;
     employee.EditCustCheckWrite = editCustCheckWrite;
     employee.CanInventoryBillOut = canInventoryBillOut;
     employee.CanAddRemoveGarmentsOnEdit = canAddRemoveGarmentsOnEdit;
     employee.CanAssignCustPLevels = canAssignCustPLevels;
     employee.CanSelectPLevelsInvoicing = canSelectPLevelsInvoicing;
     employee.CanSelectPLevelsEditing = canSelectPLevelsEditing;
     employee.CanEditCCOnFile = canEditCCOnFile;
     employee.CanMPSBrowse = canMPSBrowse;
     employee.CanIssueVoidCCDebitsCredits = canIssueVoidCCDebitsCredits;
     employee.IsWinUser = isWinUser;
     employee.IsLocked = isLocked;
     employee.CanDeleteCustomers = canDeleteCustomers;
     employee.CanEditCustEmail = canEditCustEmail;
     employee.CanSendACustomerEmail = canSendACustomerEmail;
     employee.CanEditLoyaltyPts = canEditLoyaltyPts;
     employee.CanEditCustInvoiceSettings = canEditCustInvoiceSettings;
     employee.CanViewCustActivity = canViewCustActivity;
     employee.CanIssueAwardCards = canIssueAwardCards;
     employee.CanReloadAwardCards = canReloadAwardCards;
     employee.CanReloadPurchaseCards = canReloadPurchaseCards;
     employee.CanVoidGiftTransactions = canVoidGiftTransactions;
     employee.CannotViewLocations = cannotViewLocations;
     employee.CanAddGarmentsOnEdit = canAddGarmentsOnEdit;
     employee.CanRemoveGarmentsOnEdit = canRemoveGarmentsOnEdit;
     return employee;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Employees EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmployees(Employee employee)
 {
     base.AddObject("Employees", employee);
 }