コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the BusinessUnitTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBusinessUnitTypes(BusinessUnitType businessUnitType)
 {
     base.AddObject("BusinessUnitTypes", businessUnitType);
 }
コード例 #2
0
 /// <summary>
 /// Create a new BusinessUnitType object.
 /// </summary>
 /// <param name="businessUnitTypeID">Initial value of the BusinessUnitTypeID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static BusinessUnitType CreateBusinessUnitType(global::System.Int32 businessUnitTypeID, global::System.String name)
 {
     BusinessUnitType businessUnitType = new BusinessUnitType();
     businessUnitType.BusinessUnitTypeID = businessUnitTypeID;
     businessUnitType.Name = name;
     return businessUnitType;
 }