Наследование: System.Data.Objects.DataClasses.EntityObject
 public RegistroConvenioPlanoSaude()
 {
     InitializeComponent();
     novoConvenio = new ConvenioPlanoSaudeSet();
     dfrNovoConvenio.CurrentItem = novoConvenio;
     dfrNovoConvenio.BeginEdit();
 }
Пример #2
0
        /// <summary>
        /// Create a new ConvenioPlanoSaudeSet object.
        /// </summary>
        /// <param name="codigo">Initial value of the codigo property.</param>
        /// <param name="empresa">Initial value of the empresa property.</param>
        /// <param name="plano">Initial value of the plano property.</param>
        /// <param name="telefone">Initial value of the telefone property.</param>
        /// <param name="observacoes">Initial value of the observacoes property.</param>
        public static ConvenioPlanoSaudeSet CreateConvenioPlanoSaudeSet(global::System.Int32 codigo, global::System.String empresa, global::System.String plano, global::System.String telefone, global::System.String observacoes)
        {
            ConvenioPlanoSaudeSet convenioPlanoSaudeSet = new ConvenioPlanoSaudeSet();

            convenioPlanoSaudeSet.codigo      = codigo;
            convenioPlanoSaudeSet.empresa     = empresa;
            convenioPlanoSaudeSet.plano       = plano;
            convenioPlanoSaudeSet.telefone    = telefone;
            convenioPlanoSaudeSet.observacoes = observacoes;
            return(convenioPlanoSaudeSet);
        }
 /// <summary>
 /// Create a new ConvenioPlanoSaudeSet object.
 /// </summary>
 /// <param name="codigo">Initial value of the codigo property.</param>
 /// <param name="empresa">Initial value of the empresa property.</param>
 /// <param name="plano">Initial value of the plano property.</param>
 /// <param name="telefone">Initial value of the telefone property.</param>
 /// <param name="observacoes">Initial value of the observacoes property.</param>
 public static ConvenioPlanoSaudeSet CreateConvenioPlanoSaudeSet(global::System.Int32 codigo, global::System.String empresa, global::System.String plano, global::System.String telefone, global::System.String observacoes)
 {
     ConvenioPlanoSaudeSet convenioPlanoSaudeSet = new ConvenioPlanoSaudeSet();
     convenioPlanoSaudeSet.codigo = codigo;
     convenioPlanoSaudeSet.empresa = empresa;
     convenioPlanoSaudeSet.plano = plano;
     convenioPlanoSaudeSet.telefone = telefone;
     convenioPlanoSaudeSet.observacoes = observacoes;
     return convenioPlanoSaudeSet;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ConvenioPlanoSaudeSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToConvenioPlanoSaudeSet(ConvenioPlanoSaudeSet convenioPlanoSaudeSet)
 {
     base.AddObject("ConvenioPlanoSaudeSet", convenioPlanoSaudeSet);
 }
 private void CancelButton_Click(object sender, RoutedEventArgs e)
 {
     novoConvenio = null;
     dfrNovoConvenio.CancelEdit();
     this.DialogResult = false;
 }
Пример #6
0
 private bool FilterConvenioPlanoSaudeSet(ConvenioPlanoSaudeSet entity)
 {
     return (entity.codigo == this.ConvenioPlanoSaude_codigo);
 }
Пример #7
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ConvenioPlanoSaudeSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToConvenioPlanoSaudeSet(ConvenioPlanoSaudeSet convenioPlanoSaudeSet)
 {
     base.AddObject("ConvenioPlanoSaudeSet", convenioPlanoSaudeSet);
 }