コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 private void DetachSqlAppointmentResources(SqlAppointmentResource entity)
 {
     entity.SqlResource = null;
 }
コード例 #4
0
 private bool FilterSqlAppointmentResources(SqlAppointmentResource entity)
 {
     return (entity.SqlResources_SqlResourceId == this.SqlResourceId);
 }
コード例 #5
0
 private void AttachSqlAppointmentResources(SqlAppointmentResource entity)
 {
     entity.SqlResource = this;
 }