| | |
| | | if (!optionsBuilder.IsConfigured) |
| | | { |
| | | #warning To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https://go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see http://go.microsoft.com/fwlink/?LinkId=723263. |
| | | optionsBuilder.UseSqlServer("Data Source=.;Initial Catalog=zhengcaioa;User ID=sa;Password=123456"); |
| | | optionsBuilder.UseSqlServer("Data Source=172.26.97.147;Initial Catalog=zhengcaioa;User ID=sa;Password=Za20222812"); |
| | | } |
| | | } |
| | | |
| | |
| | | .HasColumnName("challenge_id"); |
| | | |
| | | entity.Property(e => e.Evidential) |
| | | .HasMaxLength(300) |
| | | .HasMaxLength(4000) |
| | | .HasColumnName("evidential"); |
| | | |
| | | entity.Property(e => e.Law) |
| | |
| | | .HasColumnName("complaint_id"); |
| | | |
| | | entity.Property(e => e.Evidential) |
| | | .HasMaxLength(300) |
| | | .HasMaxLength(4000) |
| | | .HasColumnName("evidential"); |
| | | |
| | | entity.Property(e => e.Law) |