public ReadData()
 {
     fileStream   = new FileStream(@"C:\Users\fsozy\OneDrive\Masaüstü\16.04.20_FatmaSedaOZYURT\TuristDB_App\veriler.txt", FileMode.Open, FileAccess.Read);
     dbOperations = new TouristDbOperations();
     dbContext    = new TouristDbContext();
 }
Ejemplo n.º 2
0
 public TouristDbOperations()
 {
     db = new TouristDbContext();
 }
 public Form1()
 {
     InitializeComponent();
     db = new TouristDbContext();
 }