Ejemplo n.º 1
0
 void DBExtendedProperty_PropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if (this.State == DBObjectState.Modified && this.Owner != null && this.Owner.Connection.Project != null)
     {
         DBObjectManager.CreateExtendedProperty(this.Owner, this.Name, "", this.Value);
     }
 }
Ejemplo n.º 2
0
        private void dataGridView_properties_UserAddedRow(object sender, DataGridViewRowEventArgs e)
        {
            var prop = (DBExtendedProperty)e.Row.DataBoundItem;

            DBObjectManager.CreateExtendedProperty(prop.Owner, prop.Name, "", prop.Value);
        }