コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SubActions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSubActions(SubAction subAction)
 {
     base.AddObject("SubActions", subAction);
 }
コード例 #2
0
 /// <summary>
 /// Create a new SubAction object.
 /// </summary>
 /// <param name="subActionId">Initial value of the SubActionId property.</param>
 /// <param name="entityId">Initial value of the EntityId property.</param>
 /// <param name="subId">Initial value of the SubId property.</param>
 /// <param name="actionTypeId">Initial value of the ActionTypeId property.</param>
 /// <param name="actionDateTime">Initial value of the ActionDateTime property.</param>
 /// <param name="actionDescription">Initial value of the ActionDescription property.</param>
 /// <param name="success">Initial value of the Success property.</param>
 public static SubAction CreateSubAction(global::System.Int32 subActionId, global::System.Int32 entityId, global::System.String subId, global::System.Int32 actionTypeId, global::System.DateTime actionDateTime, global::System.String actionDescription, global::System.Boolean success)
 {
     SubAction subAction = new SubAction();
     subAction.SubActionId = subActionId;
     subAction.EntityId = entityId;
     subAction.SubId = subId;
     subAction.ActionTypeId = actionTypeId;
     subAction.ActionDateTime = actionDateTime;
     subAction.ActionDescription = actionDescription;
     subAction.Success = success;
     return subAction;
 }