/// <summary>
 /// Deprecated Method for adding a new object to the RealResources EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRealResources(RealResource realResource)
 {
     base.AddObject("RealResources", realResource);
 }
 /// <summary>
 /// Create a new RealResource object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="measureId">Initial value of the MeasureId property.</param>
 /// <param name="resourceTypeId">Initial value of the ResourceTypeId property.</param>
 /// <param name="taskId">Initial value of the TaskId property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="amount">Initial value of the Amount property.</param>
 /// <param name="cost">Initial value of the Cost property.</param>
 /// <param name="totalCost">Initial value of the TotalCost property.</param>
 /// <param name="realUsed">Initial value of the RealUsed property.</param>
 public static RealResource CreateRealResource(global::System.Int64 id, global::System.Int32 measureId, global::System.Int32 resourceTypeId, global::System.Int64 taskId, global::System.String code, global::System.String name, global::System.Double amount, global::System.Decimal cost, global::System.Decimal totalCost, global::System.Double realUsed)
 {
     RealResource realResource = new RealResource();
     realResource.Id = id;
     realResource.MeasureId = measureId;
     realResource.ResourceTypeId = resourceTypeId;
     realResource.TaskId = taskId;
     realResource.Code = code;
     realResource.Name = name;
     realResource.Amount = amount;
     realResource.Cost = cost;
     realResource.TotalCost = totalCost;
     realResource.RealUsed = realUsed;
     return realResource;
 }