/// <summary> /// Create a new ActionResult object. /// </summary> /// <param name="status">Initial value of the Status property.</param> /// <param name="id">Initial value of the Id property.</param> /// <param name="factoryUid">Initial value of the FactoryUid property.</param> /// <param name="resultCode">Initial value of the ResultCode property.</param> /// <param name="ownerSequenceResultId">Initial value of the OwnerSequenceResultId property.</param> /// <param name="isInternal">Initial value of the IsInternal property.</param> public static ActionResult CreateActionResult(global::System.Int16 status, global::System.Int64 id, global::System.Guid factoryUid, global::System.Int32 resultCode, global::System.Int64 ownerSequenceResultId, global::System.Boolean isInternal) { ActionResult actionResult = new ActionResult(); actionResult.Status = status; actionResult.Id = id; actionResult.FactoryUid = factoryUid; actionResult.ResultCode = resultCode; actionResult.OwnerSequenceResultId = ownerSequenceResultId; actionResult.IsInternal = isInternal; return actionResult; }
/// <summary> /// Deprecated Method for adding a new object to the ActionResults EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToActionResults(ActionResult actionResult) { base.AddObject("ActionResults", actionResult); }