Skip to content

Commit

Permalink
SQLite testing
Browse files Browse the repository at this point in the history
  • Loading branch information
sjh37 committed May 18, 2023
1 parent b96b9d5 commit 1b0e175
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ public void Dispose() { }
// Efrpg
public class Efrpg
{
public long? Id { get; set; } // Id (Primary key)
public long Id { get; set; } // Id (Primary key)
public string Text1 { get; set; } // text1
public string Text2 { get; set; } // text2 (length: 22)
public string Text3 { get; set; } // text3 (length: 33)
Expand Down Expand Up @@ -884,7 +884,7 @@ public Efrpg()
// EfrpgItems
public class EfrpgItem
{
public long? Id { get; set; } // Id (Primary key)
public long Id { get; set; } // Id (Primary key)
public long EfrpgId { get; set; } // EfrpgId
public long Test { get; set; } // Test
public DateTime? CreatedAt { get; set; } // CreatedAt
Expand Down Expand Up @@ -921,7 +921,7 @@ public void Configure(EntityTypeBuilder<Efrpg> builder)
builder.ToTable("Efrpg", "main");
builder.HasKey(x => x.Id);

builder.Property(x => x.Id).HasColumnName(@"Id").HasColumnType("integer").IsRequired(false).ValueGeneratedOnAdd();
builder.Property(x => x.Id).HasColumnName(@"Id").HasColumnType("integer").IsRequired().ValueGeneratedOnAdd();
builder.Property(x => x.Text1).HasColumnName(@"text1").HasColumnType("text").IsRequired(false).IsUnicode(false);
builder.Property(x => x.Text2).HasColumnName(@"text2").HasColumnType("character(22)").IsRequired(false).HasMaxLength(22);
builder.Property(x => x.Text3).HasColumnName(@"text3").HasColumnType("varchar(33)").IsRequired(false).IsUnicode(false).HasMaxLength(33);
Expand Down Expand Up @@ -983,7 +983,7 @@ public void Configure(EntityTypeBuilder<ThisIsAView> builder)
builder.ToView("ThisIsAView", "main");
builder.HasNoKey();

builder.Property(x => x.Id).HasColumnName(@"Id").HasColumnType("integer").IsRequired();
builder.Property(x => x.Id).HasColumnName(@"Id").HasColumnType("integer").IsRequired(false);
builder.Property(x => x.Text1).HasColumnName(@"text1").HasColumnType("text").IsRequired(false).IsUnicode(false);
builder.Property(x => x.Int1).HasColumnName(@"int1").HasColumnType("integer").IsRequired(false);
builder.Property(x => x.Blob1).HasColumnName(@"blob1").HasColumnType("blob").IsRequired(false);
Expand Down

0 comments on commit 1b0e175

Please sign in to comment.