Exemplo n.º 1
0
 /// <summary>
 /// Create a new SecRoleInvoiceApprovalPermission object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="roleID">Initial value of the RoleID property.</param>
 /// <param name="amountFrom">Initial value of the AmountFrom property.</param>
 /// <param name="amountTo">Initial value of the AmountTo property.</param>
 /// <param name="clientID">Initial value of the ClientID property.</param>
 public static SecRoleInvoiceApprovalPermission CreateSecRoleInvoiceApprovalPermission(global::System.Int32 id, global::System.Int32 roleID, global::System.Decimal amountFrom, global::System.Decimal amountTo, global::System.Int32 clientID)
 {
     SecRoleInvoiceApprovalPermission secRoleInvoiceApprovalPermission = new SecRoleInvoiceApprovalPermission();
     secRoleInvoiceApprovalPermission.ID = id;
     secRoleInvoiceApprovalPermission.RoleID = roleID;
     secRoleInvoiceApprovalPermission.AmountFrom = amountFrom;
     secRoleInvoiceApprovalPermission.AmountTo = amountTo;
     secRoleInvoiceApprovalPermission.ClientID = clientID;
     return secRoleInvoiceApprovalPermission;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SecRoleInvoiceApprovalPermissions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSecRoleInvoiceApprovalPermissions(SecRoleInvoiceApprovalPermission secRoleInvoiceApprovalPermission)
 {
     base.AddObject("SecRoleInvoiceApprovalPermissions", secRoleInvoiceApprovalPermission);
 }