/// <summary> /// Create a new eventocadastro object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="idEvento">Initial value of the IdEvento property.</param> public static eventocadastro Createeventocadastro(global::System.Int32 id, global::System.Int32 idEvento) { eventocadastro eventocadastro = new eventocadastro(); eventocadastro.Id = id; eventocadastro.IdEvento = idEvento; return eventocadastro; }
/// <summary> /// Deprecated Method for adding a new object to the eventocadastro EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToeventocadastro(eventocadastro eventocadastro) { base.AddObject("eventocadastro", eventocadastro); }