1234567891011121314151617181920212223 |
- using androidAPI.ModelBase;
- using Microsoft.EntityFrameworkCore;
- using System.Collections.Generic;
- using static androidAPI.ModelBase.Inform;
- namespace androidAPI.BaseConneckion
- {
- public class MainTheApplication : DbContext
- {
- public DbSet<Inform> DogiTut { get; set; }
- public DbSet<Breed> Bred { get; set; }
- public DbSet<Gender> Gend { get; set; }
- protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
- {
- optionsBuilder.UseSqlServer(Constans.SqlConnection);
- }
- }
- }
|