コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TenantShowings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTenantShowings(TenantShowing tenantShowing)
 {
     base.AddObject("TenantShowings", tenantShowing);
 }
コード例 #2
0
 /// <summary>
 /// Create a new TenantShowing object.
 /// </summary>
 /// <param name="showingId">Initial value of the ShowingId property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="unitId">Initial value of the UnitId property.</param>
 /// <param name="tenantId">Initial value of the TenantId property.</param>
 public static TenantShowing CreateTenantShowing(global::System.Int32 showingId, global::System.DateTime date, global::System.Int32 unitId, global::System.Int32 tenantId)
 {
     TenantShowing tenantShowing = new TenantShowing();
     tenantShowing.ShowingId = showingId;
     tenantShowing.Date = date;
     tenantShowing.UnitId = unitId;
     tenantShowing.TenantId = tenantId;
     return tenantShowing;
 }