/// <summary> /// Deprecated Method for adding a new object to the LeaseTenants EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLeaseTenants(LeaseTenant leaseTenant) { base.AddObject("LeaseTenants", leaseTenant); }
/// <summary> /// Create a new LeaseTenant object. /// </summary> /// <param name="leaseTenantId">Initial value of the LeaseTenantId property.</param> /// <param name="leaseId">Initial value of the LeaseId property.</param> /// <param name="tenantName">Initial value of the TenantName property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static LeaseTenant CreateLeaseTenant(global::System.Int32 leaseTenantId, global::System.Int32 leaseId, global::System.String tenantName, global::System.Boolean isDeleted) { LeaseTenant leaseTenant = new LeaseTenant(); leaseTenant.LeaseTenantId = leaseTenantId; leaseTenant.LeaseId = leaseId; leaseTenant.TenantName = tenantName; leaseTenant.IsDeleted = isDeleted; return leaseTenant; }