コード例 #1
0
 /// <summary>
 /// Create a new Medico object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static Medico CreateMedico(global::System.Int32 id)
 {
     Medico medico = new Medico();
     medico.Id = id;
     return medico;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Medico EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMedico(Medico medico)
 {
     base.AddObject("Medico", medico);
 }
コード例 #3
0
 private bool FilterMedico(Medico entity)
 {
     return (entity.Id == this.MedicoId);
 }