예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the persona EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTopersona(persona persona)
 {
     base.AddObject("persona", persona);
 }
예제 #2
0
 /// <summary>
 /// Create a new persona object.
 /// </summary>
 /// <param name="personaid">Initial value of the personaid property.</param>
 /// <param name="nombre">Initial value of the nombre property.</param>
 /// <param name="apellido">Initial value of the apellido property.</param>
 /// <param name="noidentificacion">Initial value of the noidentificacion property.</param>
 /// <param name="correoelectronico">Initial value of the correoelectronico property.</param>
 /// <param name="cantonid">Initial value of the cantonid property.</param>
 /// <param name="provinciaid">Initial value of the provinciaid property.</param>
 /// <param name="direccion">Initial value of the direccion property.</param>
 public static persona Createpersona(global::System.Int64 personaid, global::System.String nombre, global::System.String apellido, global::System.String noidentificacion, global::System.String correoelectronico, global::System.Int16 cantonid, global::System.Int16 provinciaid, global::System.String direccion)
 {
     persona persona = new persona();
     persona.personaid = personaid;
     persona.nombre = nombre;
     persona.apellido = apellido;
     persona.noidentificacion = noidentificacion;
     persona.correoelectronico = correoelectronico;
     persona.cantonid = cantonid;
     persona.provinciaid = provinciaid;
     persona.direccion = direccion;
     return persona;
 }