コード例 #1
0
 /// <summary>
 /// Create a new RptResource object.
 /// </summary>
 /// <param name="rRID">Initial value of the RRID property.</param>
 /// <param name="providerID">Initial value of the ProviderID property.</param>
 /// <param name="resourceID">Initial value of the ResourceID property.</param>
 /// <param name="pkg">Initial value of the Pkg property.</param>
 /// <param name="resourceName">Initial value of the ResourceName property.</param>
 /// <param name="departureCity">Initial value of the DepartureCity property.</param>
 /// <param name="destinationCity">Initial value of the DestinationCity property.</param>
 /// <param name="createTime">Initial value of the CreateTime property.</param>
 /// <param name="updateTime">Initial value of the UpdateTime property.</param>
 public static RptResource CreateRptResource(global::System.Int32 rRID, global::System.Int32 providerID, global::System.Int32 resourceID, global::System.Int32 pkg, global::System.String resourceName, global::System.String departureCity, global::System.String destinationCity, global::System.DateTime createTime, global::System.DateTime updateTime)
 {
     RptResource rptResource = new RptResource();
     rptResource.RRID = rRID;
     rptResource.ProviderID = providerID;
     rptResource.ResourceID = resourceID;
     rptResource.Pkg = pkg;
     rptResource.ResourceName = resourceName;
     rptResource.DepartureCity = departureCity;
     rptResource.DestinationCity = destinationCity;
     rptResource.CreateTime = createTime;
     rptResource.UpdateTime = updateTime;
     return rptResource;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RptResource EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRptResource(RptResource rptResource)
 {
     base.AddObject("RptResource", rptResource);
 }