/// <summary>
 /// Create a new SqlAppointmentResource object.
 /// </summary>
 /// <param name="sqlAppointments_SqlAppointmentId">Initial value of the SqlAppointments_SqlAppointmentId property.</param>
 /// <param name="sqlResources_SqlResourceId">Initial value of the SqlResources_SqlResourceId property.</param>
 public static SqlAppointmentResource CreateSqlAppointmentResource(global::System.Int32 sqlAppointments_SqlAppointmentId, global::System.Int32 sqlResources_SqlResourceId)
 {
     SqlAppointmentResource sqlAppointmentResource = new SqlAppointmentResource();
     sqlAppointmentResource.SqlAppointments_SqlAppointmentId = sqlAppointments_SqlAppointmentId;
     sqlAppointmentResource.SqlResources_SqlResourceId = sqlResources_SqlResourceId;
     return sqlAppointmentResource;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the SqlAppointmentResources EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSqlAppointmentResources(SqlAppointmentResource sqlAppointmentResource)
 {
     base.AddObject("SqlAppointmentResources", sqlAppointmentResource);
 }
 private void DetachSqlAppointmentResources(SqlAppointmentResource entity)
 {
     entity.SqlResource = null;
 }
 private bool FilterSqlAppointmentResources(SqlAppointmentResource entity)
 {
     return (entity.SqlResources_SqlResourceId == this.SqlResourceId);
 }
 private void AttachSqlAppointmentResources(SqlAppointmentResource entity)
 {
     entity.SqlResource = this;
 }