/// <summary>
 /// Deprecated Method for adding a new object to the Preregistroes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPreregistroes(Preregistro preregistro)
 {
     base.AddObject("Preregistroes", preregistro);
 }
 /// <summary>
 /// Create a new Preregistro object.
 /// </summary>
 /// <param name="registroId">Initial value of the RegistroId property.</param>
 public static Preregistro CreatePreregistro(global::System.Int32 registroId)
 {
     Preregistro preregistro = new Preregistro();
     preregistro.RegistroId = registroId;
     return preregistro;
 }