コード例 #1
0
 /// <summary>
 /// Create a new BlkInCost object.
 /// </summary>
 /// <param name="blockId">Initial value of BlockId.</param>
 /// <param name="costType">Initial value of CostType.</param>
 public static BlkInCost CreateBlkInCost(long blockId, long costType)
 {
     BlkInCost blkInCost = new BlkInCost();
     blkInCost.BlockId = blockId;
     blkInCost.CostType = costType;
     return blkInCost;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the BlkInCosts EntitySet.
 /// </summary>
 public void AddToBlkInCosts(BlkInCost blkInCost)
 {
     base.AddObject("BlkInCosts", blkInCost);
 }