/// <summary> /// Create a new Exame object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="atendimentoId">Initial value of the AtendimentoId property.</param> public static Exame CreateExame(global::System.Int32 id, global::System.Int32 atendimentoId) { Exame exame = new Exame(); exame.Id = id; exame.AtendimentoId = atendimentoId; return exame; }
/// <summary> /// Deprecated Method for adding a new object to the Exame EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToExame(Exame exame) { base.AddObject("Exame", exame); }
private void DetachExame(Exame entity) { entity.Atendimento = null; }
private bool FilterExame(Exame entity) { return (entity.AtendimentoId == this.Id); }
private void AttachExame(Exame entity) { entity.Atendimento = this; }