/// <summary> /// Deprecated Method for adding a new object to the approlesopciones EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToapprolesopciones(approlesopciones approlesopciones) { base.AddObject("approlesopciones", approlesopciones); }
/// <summary> /// Create a new approlesopciones object. /// </summary> /// <param name="id_rol_opcion">Initial value of the Id_rol_opcion property.</param> /// <param name="id_opcion">Initial value of the Id_opcion property.</param> /// <param name="rolename">Initial value of the rolename property.</param> public static approlesopciones Createapprolesopciones(global::System.Int32 id_rol_opcion, global::System.Int32 id_opcion, global::System.String rolename) { approlesopciones approlesopciones = new approlesopciones(); approlesopciones.Id_rol_opcion = id_rol_opcion; approlesopciones.Id_opcion = id_opcion; approlesopciones.rolename = rolename; return approlesopciones; }