文件名从 LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/WmsDBModel.cs 修改 |
| | |
| | | using System.Data.Entity; |
| | | using System.Linq; |
| | | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | public partial class WmsDBModel : DbContext |
| | | { |
| | |
| | | public virtual DbSet<zero_interface_list> zero_interface_list { get; set; } |
| | | public virtual DbSet<zero_user_info> zero_user_info { get; set; } |
| | | public virtual DbSet<V_EmptyStation> V_EmptyStation { get; set; } |
| | | public virtual DbSet<V_Station_Quan> V_Station_Quan { get; set; } |
| | | |
| | | protected override void OnModelCreating(DbModelBuilder modelBuilder) |
| | | { |
| | |
| | | modelBuilder.Entity<V_EmptyStation>() |
| | | .Property(e => e.Thick) |
| | | .HasPrecision(10, 3); |
| | | |
| | | modelBuilder.Entity<V_Station_Quan>() |
| | | .Property(e => e.stationLength) |
| | | .HasPrecision(10, 3); |
| | | |
| | | modelBuilder.Entity<V_Station_Quan>() |
| | | .Property(e => e.Width) |
| | | .HasPrecision(10, 3); |
| | | |
| | | modelBuilder.Entity<V_Station_Quan>() |
| | | .Property(e => e.Height) |
| | | .HasPrecision(10, 3); |
| | | |
| | | modelBuilder.Entity<V_Station_Quan>() |
| | | .Property(e => e.Thick) |
| | | .HasPrecision(10, 3); |
| | | } |
| | | } |
| | | } |