public AddEntityTypeWindow(CSDLView view)
        {
            InitializeComponent();
            var nullValues = NullValue.GetValues("(none)");

            _nullValue         = nullValues[0];
            _baseEntityTypeObj = _nullValue;
            nullEntityTypeCollection.Collection = nullValues;
            entityTypeCollection.Collection     = view.EntityTypes;
        }
Exemplo n.º 2
0
 internal UIEntityType(CSDLView view, EntityType entityType, UIEntityType subEntitiType)
     : this(view, entityType)
 {
     InternalSubEntityTypes.Add(subEntitiType);
 }
Exemplo n.º 3
0
 internal UIComplexType(CSDLView view, ComplexType complexType)
     : base(view, complexType)
 {
 }
Exemplo n.º 4
0
 internal UIEntityType(CSDLView view, EntityType entityType)
     : base(view, entityType)
 {
     BusinessInstance.BaseTypeChanged      += BusinessInstanceBaseTypeChanged;
     BusinessInstance.EntitySetNameChanged += () => view.EntityTypesPropertyChanged();
 }
Exemplo n.º 5
0
 protected UITypeBase(CSDLView view, Type type)
     : base(type)
 {
     View = view;
 }