Pravki
Signed-off-by: studen <Goga@gmail.com>
This commit is contained in:
parent
62cbc90a70
commit
c537cc1296
@ -4,4 +4,5 @@ public class Acts
|
||||
{
|
||||
public int Id { get;}
|
||||
public string name { get; set; }
|
||||
public Meropriatie meropriatie { get; set; }
|
||||
}
|
@ -12,14 +12,14 @@ public class RemoteDatabaseContext : DbContext
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
modelBuilder.Entity<Acts>().HasKey(group => group.Id);
|
||||
modelBuilder.Entity<Acts>().Property(group => group.Id).ValueGeneratedOnAdd();
|
||||
modelBuilder.Entity<Acts>().HasKey(activity => activity.Id);
|
||||
modelBuilder.Entity<Acts>().Property(activity => activity.Id).ValueGeneratedOnAdd();
|
||||
|
||||
modelBuilder.Entity<Country>().HasKey(user => user.code);
|
||||
modelBuilder.Entity<Country>().Property(user => user.code).ValueGeneratedOnAdd();
|
||||
modelBuilder.Entity<Country>().HasKey(country => country.code);
|
||||
modelBuilder.Entity<Country>().Property(country => country.code).ValueGeneratedOnAdd();
|
||||
|
||||
modelBuilder.Entity<Meropriatie>()
|
||||
.HasKey(meropriatie => meropriatie.numero);
|
||||
modelBuilder.Entity<Actions>()
|
||||
.HasKey(actions => actions.number);
|
||||
|
||||
modelBuilder.Entity<Meropriatie>()
|
||||
.Property(meropriatie => meropriatie.numero)
|
||||
|
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Tmds.DBus.Protocol;
|
||||
|
||||
namespace AvaloniaApplication3.Date;
|
||||
|
||||
|
@ -12,4 +12,5 @@ public class Moders
|
||||
public string meropriatie { get; set; }
|
||||
public string Pass { get; set; }
|
||||
public string photo { get; set; }
|
||||
public Meropriatie Meropriatie { get; set; }
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -13,7 +13,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("AvaloniaApplication3")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+167d9606b7b376823d65efb29774a054af195410")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+62cbc90a70e8c5a08fc7a0cd2f30c1f01c280d0d")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("AvaloniaApplication3")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("AvaloniaApplication3")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
@ -1 +1 @@
|
||||
ddf08736301e55a15281c187fd3a705cd21e595e5488d2c5b25523215b7086d9
|
||||
60ae102342773f91586d093847a16e335cfab081c636eac53525fd97a755b92d
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user