Beispiel #1
0
        public virtual async void CreateNewRecord()
        {
            var newEntity = _dataSource.New();

            if (await ShowEntityEditor(newEntity, true) == CrudAction.Create)
            {
                RaiseEntityCreatedEvent(newEntity);
                if (AutoSelectOnCreate)
                {
                    SelectedEntity = newEntity;
                }
            }
        }
 public object New()
 {
     return(_adaptee.New());
 }