예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ServiceCategoryRelations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToServiceCategoryRelations(ServiceCategoryRelation serviceCategoryRelation)
 {
     base.AddObject("ServiceCategoryRelations", serviceCategoryRelation);
 }
예제 #2
0
 /// <summary>
 /// Create a new ServiceCategoryRelation object.
 /// </summary>
 /// <param name="serviceId">Initial value of the ServiceId property.</param>
 /// <param name="serviceCategoryId">Initial value of the ServiceCategoryId property.</param>
 public static ServiceCategoryRelation CreateServiceCategoryRelation(global::System.Int32 serviceId, global::System.Int32 serviceCategoryId)
 {
     ServiceCategoryRelation serviceCategoryRelation = new ServiceCategoryRelation();
     serviceCategoryRelation.ServiceId = serviceId;
     serviceCategoryRelation.ServiceCategoryId = serviceCategoryId;
     return serviceCategoryRelation;
 }