Exemplo n.º 1
0
 /// <summary>
 /// Create a new ApprovalLevel object.
 /// </summary>
 /// <param name="approvalLevelID">Initial value of the ApprovalLevelID property.</param>
 /// <param name="approvalLevel1">Initial value of the ApprovalLevel1 property.</param>
 /// <param name="system">Initial value of the System property.</param>
 /// <param name="lastModified">Initial value of the LastModified property.</param>
 public static ApprovalLevel CreateApprovalLevel(global::System.Decimal approvalLevelID, global::System.Int32 approvalLevel1, global::System.Boolean system, global::System.DateTime lastModified)
 {
     ApprovalLevel approvalLevel = new ApprovalLevel();
     approvalLevel.ApprovalLevelID = approvalLevelID;
     approvalLevel.ApprovalLevel1 = approvalLevel1;
     approvalLevel.System = system;
     approvalLevel.LastModified = lastModified;
     return approvalLevel;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ApprovalLevels EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToApprovalLevels(ApprovalLevel approvalLevel)
 {
     base.AddObject("ApprovalLevels", approvalLevel);
 }