public RemoveFly(
     IEventAggregator eventAggregator,
     IConnectionProvider connectionProvider, 
     FLY flyToRemove)
 {
     _eventAggregator = eventAggregator;
     _connectionProvider = connectionProvider;
     _flyToRemove = flyToRemove;
 }
 public ShowFlyDetails(
     IWindowManager windowManager,
     FLY selectedFly,
     Func<FLY, FlyDetailsViewModel> flyDetailsViewModelFactory,
     IConnectionProvider connectionProvider)
 {
     _windowManager = windowManager;
     _selectedFly = selectedFly;
     _flyDetailsViewModelFactory = flyDetailsViewModelFactory;
     _connectionProvider = connectionProvider;
 }
 public FlyViewModel(FLY fly)
 {
     Fly = fly;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the FLY EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFLY(FLY fLY)
 {
     base.AddObject("FLY", fLY);
 }
 /// <summary>
 /// Create a new FLY object.
 /// </summary>
 /// <param name="sYMBOL">Initial value of the SYMBOL property.</param>
 /// <param name="fLY_DATE">Initial value of the FLY_DATE property.</param>
 /// <param name="cONNECTION_SYMBOL">Initial value of the CONNECTION_SYMBOL property.</param>
 /// <param name="fREE_PLACES_NUMBER">Initial value of the FREE_PLACES_NUMBER property.</param>
 public static FLY CreateFLY(global::System.String sYMBOL, global::System.DateTime fLY_DATE, global::System.String cONNECTION_SYMBOL, global::System.Decimal fREE_PLACES_NUMBER)
 {
     FLY fLY = new FLY();
     fLY.SYMBOL = sYMBOL;
     fLY.FLY_DATE = fLY_DATE;
     fLY.CONNECTION_SYMBOL = cONNECTION_SYMBOL;
     fLY.FREE_PLACES_NUMBER = fREE_PLACES_NUMBER;
     return fLY;
 }