public AddEntityTypeWindow(CSDLView view) { InitializeComponent(); var nullValues = NullValue.GetValues("(none)"); _nullValue = nullValues[0]; _baseEntityTypeObj = _nullValue; nullEntityTypeCollection.Collection = nullValues; entityTypeCollection.Collection = view.EntityTypes; }
internal UIEntityType(CSDLView view, EntityType entityType, UIEntityType subEntitiType) : this(view, entityType) { InternalSubEntityTypes.Add(subEntitiType); }
internal UIComplexType(CSDLView view, ComplexType complexType) : base(view, complexType) { }
internal UIEntityType(CSDLView view, EntityType entityType) : base(view, entityType) { BusinessInstance.BaseTypeChanged += BusinessInstanceBaseTypeChanged; BusinessInstance.EntitySetNameChanged += () => view.EntityTypesPropertyChanged(); }
protected UITypeBase(CSDLView view, Type type) : base(type) { View = view; }