Commit 0955a0093f01b6674212274283af084f2f3920c7
1 parent
a80faa79
add all
Showing
27 changed files
with
1442 additions
and
32 deletions
Show diff stats
.gitignore
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class BusStop | |
7 | + { | |
8 | + public int BusStopId { get; set; } | |
9 | + public int? RoadId { get; set; } | |
10 | + public int? RegionId { get; set; } | |
11 | + public int? SettlementId { get; set; } | |
12 | + public double? LocationLeft { get; set; } | |
13 | + public double? LocationRight { get; set; } | |
14 | + public int? SurfaceTypeId { get; set; } | |
15 | + public int? CrossSectionNumber { get; set; } | |
16 | + public string Position { get; set; } | |
17 | + public int? AreaStopAvailability { get; set; } | |
18 | + public int? PocketAvailability { get; set; } | |
19 | + public int? AreaLandAvailability { get; set; } | |
20 | + public int? ToiletAvailability { get; set; } | |
21 | + public int? StateCommonId { get; set; } | |
22 | + public int? BusStationCardId { get; set; } | |
23 | + public double? BalanceCost { get; set; } | |
24 | + public string RepairCertificate { get; set; } | |
25 | + public int? DateActual { get; set; } | |
26 | + public int? YearBuild { get; set; } | |
27 | + public int? YearRepair { get; set; } | |
28 | + | |
29 | + public virtual Region Region { get; set; } | |
30 | + public virtual Road Road { get; set; } | |
31 | + public virtual Settlement Settlement { get; set; } | |
32 | + public virtual StateCommon StateCommon { get; set; } | |
33 | + public virtual SurfaceType SurfaceType { get; set; } | |
34 | + } | |
35 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class CrossSection | |
7 | + { | |
8 | + public int CrossSectionId { get; set; } | |
9 | + public int? RegionId { get; set; } | |
10 | + public int? RoadId { get; set; } | |
11 | + public double? LocationLeft { get; set; } | |
12 | + public double? LocationRight { get; set; } | |
13 | + public string Direction { get; set; } | |
14 | + public int? SurfaceTypeId { get; set; } | |
15 | + public double? LengthSection { get; set; } | |
16 | + public double? LengthSurface { get; set; } | |
17 | + public double? DistanceEdge { get; set; } | |
18 | + public double? Width { get; set; } | |
19 | + public double? Angle { get; set; } | |
20 | + public int? TubeAvailability { get; set; } | |
21 | + public int? SafetyAvailability { get; set; } | |
22 | + public int? YearBuild { get; set; } | |
23 | + public int? YearRepair { get; set; } | |
24 | + public int? StateCommonId { get; set; } | |
25 | + | |
26 | + public virtual Region Region { get; set; } | |
27 | + public virtual Road Road { get; set; } | |
28 | + public virtual StateCommon StateCommon { get; set; } | |
29 | + public virtual SurfaceType SurfaceType { get; set; } | |
30 | + } | |
31 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class DepartmentAffiliation | |
7 | + { | |
8 | + public DepartmentAffiliation() | |
9 | + { | |
10 | + ServiceObject = new HashSet<ServiceObject>(); | |
11 | + } | |
12 | + | |
13 | + public int DepartmentAffiliationId { get; set; } | |
14 | + public string Name { get; set; } | |
15 | + | |
16 | + public virtual ICollection<ServiceObject> ServiceObject { get; set; } | |
17 | + } | |
18 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class FlowIntensity | |
7 | + { | |
8 | + public int FlowIntensityId { get; set; } | |
9 | + public int? RoadId { get; set; } | |
10 | + public int? RegionId { get; set; } | |
11 | + public double? Location { get; set; } | |
12 | + public double? Begin { get; set; } | |
13 | + public double? End { get; set; } | |
14 | + public int? RoadDirectionId { get; set; } | |
15 | + public int? SettlementId { get; set; } | |
16 | + public int? IntensityTotal { get; set; } | |
17 | + public int? IntensityIncrease { get; set; } | |
18 | + public int? IntensityMoto { get; set; } | |
19 | + public int? IntensityMotoSidecar { get; set; } | |
20 | + public int? IntensityCar { get; set; } | |
21 | + public int? IntensityTruckTwo { get; set; } | |
22 | + public int? IntensityTruckTwoSix { get; set; } | |
23 | + public int? IntensityTruckSixEight { get; set; } | |
24 | + public int? IntensityTruckEightFourteen { get; set; } | |
25 | + public int? IntensityTruckFourteen { get; set; } | |
26 | + public int? IntensityLorryTwelve { get; set; } | |
27 | + public int? IntensityLorryTwelveTwenty { get; set; } | |
28 | + public int? IntensityLorryTwentyThirty { get; set; } | |
29 | + public int? IntensityLorryThirty { get; set; } | |
30 | + public int? IntensityTractorUnderTen { get; set; } | |
31 | + public int? IntensityTractorOverTen { get; set; } | |
32 | + public int? IntensityBus { get; set; } | |
33 | + public int? IntensityBusCoupled { get; set; } | |
34 | + public int? DateAdd { get; set; } | |
35 | + | |
36 | + public virtual Region Region { get; set; } | |
37 | + public virtual RoadDirection RoadDirection { get; set; } | |
38 | + public virtual Road Road { get; set; } | |
39 | + public virtual Settlement Settlement { get; set; } | |
40 | + } | |
41 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class Organization | |
7 | + { | |
8 | + public Organization() | |
9 | + { | |
10 | + RoadService = new HashSet<RoadService>(); | |
11 | + } | |
12 | + | |
13 | + public int OrganizationId { get; set; } | |
14 | + public string Name { get; set; } | |
15 | + public int? DateAdd { get; set; } | |
16 | + | |
17 | + public virtual ICollection<RoadService> RoadService { get; set; } | |
18 | + } | |
19 | +} | ... | ... |
1 | +using System; | |
2 | +using Microsoft.EntityFrameworkCore; | |
3 | +using Microsoft.EntityFrameworkCore.Metadata; | |
4 | + | |
5 | +namespace Maps.Entities | |
6 | +{ | |
7 | + public partial class PostgresDbContext : DbContext | |
8 | + { | |
9 | + protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) | |
10 | + { | |
11 | + #warning To protect potentially sensitive information in your connection string, you should move it out of source code. See http://go.microsoft.com/fwlink/?LinkId=723263 for guidance on storing connection strings. | |
12 | + optionsBuilder.UseNpgsql(@"User ID=coremap;Password=5F9g4V9m;Host=195.248.225.149;Port=5432;Database=coremap;Pooling=true;"); | |
13 | + } | |
14 | + | |
15 | + protected override void OnModelCreating(ModelBuilder modelBuilder) | |
16 | + { | |
17 | + modelBuilder.Entity<BusStop>(entity => | |
18 | + { | |
19 | + entity.ToTable("bus_stop"); | |
20 | + | |
21 | + entity.Property(e => e.BusStopId).HasColumnName("bus_stop_id"); | |
22 | + | |
23 | + entity.Property(e => e.AreaLandAvailability).HasColumnName("area_land_availability"); | |
24 | + | |
25 | + entity.Property(e => e.AreaStopAvailability).HasColumnName("area_stop_availability"); | |
26 | + | |
27 | + entity.Property(e => e.BalanceCost).HasColumnName("balance_cost"); | |
28 | + | |
29 | + entity.Property(e => e.BusStationCardId).HasColumnName("bus_station_card_id"); | |
30 | + | |
31 | + entity.Property(e => e.CrossSectionNumber).HasColumnName("cross_section_number"); | |
32 | + | |
33 | + entity.Property(e => e.DateActual).HasColumnName("date_actual"); | |
34 | + | |
35 | + entity.Property(e => e.LocationLeft).HasColumnName("location_left"); | |
36 | + | |
37 | + entity.Property(e => e.LocationRight).HasColumnName("location_right"); | |
38 | + | |
39 | + entity.Property(e => e.PocketAvailability).HasColumnName("pocket_availability"); | |
40 | + | |
41 | + entity.Property(e => e.Position) | |
42 | + .HasColumnName("position") | |
43 | + .HasColumnType("varchar") | |
44 | + .HasMaxLength(255); | |
45 | + | |
46 | + entity.Property(e => e.RegionId).HasColumnName("region_id"); | |
47 | + | |
48 | + entity.Property(e => e.RepairCertificate) | |
49 | + .HasColumnName("repair_certificate") | |
50 | + .HasColumnType("varchar") | |
51 | + .HasMaxLength(255); | |
52 | + | |
53 | + entity.Property(e => e.RoadId).HasColumnName("road_id"); | |
54 | + | |
55 | + entity.Property(e => e.SettlementId).HasColumnName("settlement_id"); | |
56 | + | |
57 | + entity.Property(e => e.StateCommonId).HasColumnName("state_common_id"); | |
58 | + | |
59 | + entity.Property(e => e.SurfaceTypeId).HasColumnName("surface_type_id"); | |
60 | + | |
61 | + entity.Property(e => e.ToiletAvailability).HasColumnName("toilet_availability"); | |
62 | + | |
63 | + entity.Property(e => e.YearBuild).HasColumnName("year_build"); | |
64 | + | |
65 | + entity.Property(e => e.YearRepair).HasColumnName("year_repair"); | |
66 | + | |
67 | + entity.HasOne(d => d.Region) | |
68 | + .WithMany(p => p.BusStop) | |
69 | + .HasForeignKey(d => d.RegionId) | |
70 | + .OnDelete(DeleteBehavior.Cascade) | |
71 | + .HasConstraintName("bus_stop_region_id_fkey"); | |
72 | + | |
73 | + entity.HasOne(d => d.Road) | |
74 | + .WithMany(p => p.BusStop) | |
75 | + .HasForeignKey(d => d.RoadId) | |
76 | + .OnDelete(DeleteBehavior.Cascade) | |
77 | + .HasConstraintName("bus_stop_road_id_fkey"); | |
78 | + | |
79 | + entity.HasOne(d => d.Settlement) | |
80 | + .WithMany(p => p.BusStop) | |
81 | + .HasForeignKey(d => d.SettlementId) | |
82 | + .OnDelete(DeleteBehavior.Cascade) | |
83 | + .HasConstraintName("bus_stop_settlement_id_fkey"); | |
84 | + | |
85 | + entity.HasOne(d => d.StateCommon) | |
86 | + .WithMany(p => p.BusStop) | |
87 | + .HasForeignKey(d => d.StateCommonId) | |
88 | + .OnDelete(DeleteBehavior.Cascade) | |
89 | + .HasConstraintName("bus_stop_state_common_id_fkey"); | |
90 | + | |
91 | + entity.HasOne(d => d.SurfaceType) | |
92 | + .WithMany(p => p.BusStop) | |
93 | + .HasForeignKey(d => d.SurfaceTypeId) | |
94 | + .OnDelete(DeleteBehavior.Cascade) | |
95 | + .HasConstraintName("bus_stop_surface_type_id_fkey"); | |
96 | + }); | |
97 | + | |
98 | + modelBuilder.Entity<CrossSection>(entity => | |
99 | + { | |
100 | + entity.ToTable("cross_section"); | |
101 | + | |
102 | + entity.Property(e => e.CrossSectionId).HasColumnName("cross_section_id"); | |
103 | + | |
104 | + entity.Property(e => e.Angle).HasColumnName("angle"); | |
105 | + | |
106 | + entity.Property(e => e.Direction) | |
107 | + .HasColumnName("direction") | |
108 | + .HasColumnType("varchar") | |
109 | + .HasMaxLength(255); | |
110 | + | |
111 | + entity.Property(e => e.DistanceEdge).HasColumnName("distance_edge"); | |
112 | + | |
113 | + entity.Property(e => e.LengthSection).HasColumnName("length_section"); | |
114 | + | |
115 | + entity.Property(e => e.LengthSurface).HasColumnName("length_surface"); | |
116 | + | |
117 | + entity.Property(e => e.LocationLeft).HasColumnName("location_left"); | |
118 | + | |
119 | + entity.Property(e => e.LocationRight).HasColumnName("location_right"); | |
120 | + | |
121 | + entity.Property(e => e.RegionId).HasColumnName("region_id"); | |
122 | + | |
123 | + entity.Property(e => e.RoadId).HasColumnName("road_id"); | |
124 | + | |
125 | + entity.Property(e => e.SafetyAvailability).HasColumnName("safety_availability"); | |
126 | + | |
127 | + entity.Property(e => e.StateCommonId).HasColumnName("state_common_id"); | |
128 | + | |
129 | + entity.Property(e => e.SurfaceTypeId).HasColumnName("surface_type_id"); | |
130 | + | |
131 | + entity.Property(e => e.TubeAvailability).HasColumnName("tube_availability"); | |
132 | + | |
133 | + entity.Property(e => e.Width).HasColumnName("width"); | |
134 | + | |
135 | + entity.Property(e => e.YearBuild).HasColumnName("year_build"); | |
136 | + | |
137 | + entity.Property(e => e.YearRepair).HasColumnName("year_repair"); | |
138 | + | |
139 | + entity.HasOne(d => d.Region) | |
140 | + .WithMany(p => p.CrossSection) | |
141 | + .HasForeignKey(d => d.RegionId) | |
142 | + .OnDelete(DeleteBehavior.Cascade) | |
143 | + .HasConstraintName("cross_section_region_id_fkey"); | |
144 | + | |
145 | + entity.HasOne(d => d.Road) | |
146 | + .WithMany(p => p.CrossSection) | |
147 | + .HasForeignKey(d => d.RoadId) | |
148 | + .OnDelete(DeleteBehavior.Cascade) | |
149 | + .HasConstraintName("cross_section_road_id_fkey"); | |
150 | + | |
151 | + entity.HasOne(d => d.StateCommon) | |
152 | + .WithMany(p => p.CrossSection) | |
153 | + .HasForeignKey(d => d.StateCommonId) | |
154 | + .OnDelete(DeleteBehavior.Cascade) | |
155 | + .HasConstraintName("cross_section_state_common_id_fkey"); | |
156 | + | |
157 | + entity.HasOne(d => d.SurfaceType) | |
158 | + .WithMany(p => p.CrossSection) | |
159 | + .HasForeignKey(d => d.SurfaceTypeId) | |
160 | + .OnDelete(DeleteBehavior.Cascade) | |
161 | + .HasConstraintName("cross_section_surface_type_id_fkey"); | |
162 | + }); | |
163 | + | |
164 | + modelBuilder.Entity<DepartmentAffiliation>(entity => | |
165 | + { | |
166 | + entity.ToTable("department_affiliation"); | |
167 | + | |
168 | + entity.Property(e => e.DepartmentAffiliationId).HasColumnName("department_affiliation_id"); | |
169 | + | |
170 | + entity.Property(e => e.Name) | |
171 | + .HasColumnName("name") | |
172 | + .HasColumnType("varchar") | |
173 | + .HasMaxLength(255); | |
174 | + }); | |
175 | + | |
176 | + modelBuilder.Entity<FlowIntensity>(entity => | |
177 | + { | |
178 | + entity.ToTable("flow_intensity"); | |
179 | + | |
180 | + entity.Property(e => e.FlowIntensityId).HasColumnName("flow_intensity_id"); | |
181 | + | |
182 | + entity.Property(e => e.Begin).HasColumnName("begin"); | |
183 | + | |
184 | + entity.Property(e => e.DateAdd).HasColumnName("date_add"); | |
185 | + | |
186 | + entity.Property(e => e.End).HasColumnName("end"); | |
187 | + | |
188 | + entity.Property(e => e.IntensityBus).HasColumnName("intensity_bus"); | |
189 | + | |
190 | + entity.Property(e => e.IntensityBusCoupled).HasColumnName("intensity_bus_coupled"); | |
191 | + | |
192 | + entity.Property(e => e.IntensityCar).HasColumnName("intensity_car"); | |
193 | + | |
194 | + entity.Property(e => e.IntensityIncrease).HasColumnName("intensity_increase"); | |
195 | + | |
196 | + entity.Property(e => e.IntensityLorryThirty).HasColumnName("intensity_lorry_thirty"); | |
197 | + | |
198 | + entity.Property(e => e.IntensityLorryTwelve).HasColumnName("intensity_lorry_twelve"); | |
199 | + | |
200 | + entity.Property(e => e.IntensityLorryTwelveTwenty).HasColumnName("intensity_lorry_twelve_twenty"); | |
201 | + | |
202 | + entity.Property(e => e.IntensityLorryTwentyThirty).HasColumnName("intensity_lorry_twenty_thirty"); | |
203 | + | |
204 | + entity.Property(e => e.IntensityMoto).HasColumnName("intensity_moto"); | |
205 | + | |
206 | + entity.Property(e => e.IntensityMotoSidecar).HasColumnName("intensity_moto_sidecar"); | |
207 | + | |
208 | + entity.Property(e => e.IntensityTotal).HasColumnName("intensity_total"); | |
209 | + | |
210 | + entity.Property(e => e.IntensityTractorOverTen).HasColumnName("intensity_tractor_over_ten"); | |
211 | + | |
212 | + entity.Property(e => e.IntensityTractorUnderTen).HasColumnName("intensity_tractor_under_ten"); | |
213 | + | |
214 | + entity.Property(e => e.IntensityTruckEightFourteen).HasColumnName("intensity_truck_eight_fourteen"); | |
215 | + | |
216 | + entity.Property(e => e.IntensityTruckFourteen).HasColumnName("intensity_truck_fourteen"); | |
217 | + | |
218 | + entity.Property(e => e.IntensityTruckSixEight).HasColumnName("intensity_truck_six_eight"); | |
219 | + | |
220 | + entity.Property(e => e.IntensityTruckTwo).HasColumnName("intensity_truck_two"); | |
221 | + | |
222 | + entity.Property(e => e.IntensityTruckTwoSix).HasColumnName("intensity_truck_two_six"); | |
223 | + | |
224 | + entity.Property(e => e.Location).HasColumnName("location"); | |
225 | + | |
226 | + entity.Property(e => e.RegionId).HasColumnName("region_id"); | |
227 | + | |
228 | + entity.Property(e => e.RoadDirectionId).HasColumnName("road_direction_id"); | |
229 | + | |
230 | + entity.Property(e => e.RoadId).HasColumnName("road_id"); | |
231 | + | |
232 | + entity.Property(e => e.SettlementId).HasColumnName("settlement_id"); | |
233 | + | |
234 | + entity.HasOne(d => d.Region) | |
235 | + .WithMany(p => p.FlowIntensity) | |
236 | + .HasForeignKey(d => d.RegionId) | |
237 | + .OnDelete(DeleteBehavior.Cascade) | |
238 | + .HasConstraintName("flow_intensity_region_id_fkey"); | |
239 | + | |
240 | + entity.HasOne(d => d.RoadDirection) | |
241 | + .WithMany(p => p.FlowIntensity) | |
242 | + .HasForeignKey(d => d.RoadDirectionId) | |
243 | + .OnDelete(DeleteBehavior.Cascade) | |
244 | + .HasConstraintName("flow_intensity_road_direction_id_fkey"); | |
245 | + | |
246 | + entity.HasOne(d => d.Road) | |
247 | + .WithMany(p => p.FlowIntensity) | |
248 | + .HasForeignKey(d => d.RoadId) | |
249 | + .OnDelete(DeleteBehavior.Cascade) | |
250 | + .HasConstraintName("flow_intensity_road_id_fkey"); | |
251 | + | |
252 | + entity.HasOne(d => d.Settlement) | |
253 | + .WithMany(p => p.FlowIntensity) | |
254 | + .HasForeignKey(d => d.SettlementId) | |
255 | + .OnDelete(DeleteBehavior.Cascade) | |
256 | + .HasConstraintName("flow_intensity_settlement_id_fkey"); | |
257 | + }); | |
258 | + | |
259 | + modelBuilder.Entity<Organization>(entity => | |
260 | + { | |
261 | + entity.ToTable("organization"); | |
262 | + | |
263 | + entity.Property(e => e.OrganizationId).HasColumnName("organization_id"); | |
264 | + | |
265 | + entity.Property(e => e.DateAdd).HasColumnName("date_add"); | |
266 | + | |
267 | + entity.Property(e => e.Name) | |
268 | + .IsRequired() | |
269 | + .HasColumnName("name") | |
270 | + .HasColumnType("varchar") | |
271 | + .HasMaxLength(255); | |
272 | + }); | |
273 | + | |
274 | + modelBuilder.Entity<Region>(entity => | |
275 | + { | |
276 | + entity.ToTable("region"); | |
277 | + | |
278 | + entity.Property(e => e.RegionId).HasColumnName("region_id"); | |
279 | + | |
280 | + entity.Property(e => e.Index).HasColumnName("index"); | |
281 | + | |
282 | + entity.Property(e => e.Name) | |
283 | + .HasColumnName("name") | |
284 | + .HasColumnType("varchar") | |
285 | + .HasMaxLength(255); | |
286 | + }); | |
287 | + | |
288 | + modelBuilder.Entity<Road>(entity => | |
289 | + { | |
290 | + entity.ToTable("road"); | |
291 | + | |
292 | + entity.Property(e => e.RoadId).HasColumnName("road_id"); | |
293 | + | |
294 | + entity.Property(e => e.AcceptTransferDoc) | |
295 | + .HasColumnName("accept_transfer_doc") | |
296 | + .HasColumnType("varchar") | |
297 | + .HasMaxLength(255); | |
298 | + | |
299 | + entity.Property(e => e.AcceptanceDoc) | |
300 | + .HasColumnName("acceptance_doc") | |
301 | + .HasColumnType("varchar") | |
302 | + .HasMaxLength(255); | |
303 | + | |
304 | + entity.Property(e => e.AuthorityAct) | |
305 | + .HasColumnName("authority_act") | |
306 | + .HasColumnType("varchar") | |
307 | + .HasMaxLength(255); | |
308 | + | |
309 | + entity.Property(e => e.EconomicValue).HasColumnName("economic_value"); | |
310 | + | |
311 | + entity.Property(e => e.HistoricalBackground).HasColumnName("historical_background"); | |
312 | + | |
313 | + entity.Property(e => e.Index).HasColumnName("index"); | |
314 | + | |
315 | + entity.Property(e => e.LawDoc) | |
316 | + .HasColumnName("law_doc") | |
317 | + .HasColumnType("varchar") | |
318 | + .HasMaxLength(255); | |
319 | + | |
320 | + entity.Property(e => e.Length).HasColumnName("length"); | |
321 | + | |
322 | + entity.Property(e => e.Name) | |
323 | + .HasColumnName("name") | |
324 | + .HasColumnType("varchar") | |
325 | + .HasMaxLength(255); | |
326 | + | |
327 | + entity.Property(e => e.RoadTypeId).HasColumnName("road_type_id"); | |
328 | + | |
329 | + entity.Property(e => e.Value).HasColumnName("value"); | |
330 | + | |
331 | + entity.HasOne(d => d.RoadType) | |
332 | + .WithMany(p => p.Road) | |
333 | + .HasForeignKey(d => d.RoadTypeId) | |
334 | + .OnDelete(DeleteBehavior.Cascade) | |
335 | + .HasConstraintName("road_road_type_id_fkey"); | |
336 | + }); | |
337 | + | |
338 | + modelBuilder.Entity<RoadCategory>(entity => | |
339 | + { | |
340 | + entity.ToTable("road_category"); | |
341 | + | |
342 | + entity.Property(e => e.RoadCategoryId).HasColumnName("road_category_id"); | |
343 | + | |
344 | + entity.Property(e => e.Value) | |
345 | + .HasColumnName("value") | |
346 | + .HasColumnType("varchar") | |
347 | + .HasMaxLength(255); | |
348 | + }); | |
349 | + | |
350 | + modelBuilder.Entity<RoadDirection>(entity => | |
351 | + { | |
352 | + entity.ToTable("road_direction"); | |
353 | + | |
354 | + entity.Property(e => e.RoadDirectionId).HasColumnName("road_direction_id"); | |
355 | + | |
356 | + entity.Property(e => e.DirectionName) | |
357 | + .IsRequired() | |
358 | + .HasColumnName("direction_name") | |
359 | + .HasColumnType("varchar") | |
360 | + .HasMaxLength(255); | |
361 | + }); | |
362 | + | |
363 | + modelBuilder.Entity<RoadPassport>(entity => | |
364 | + { | |
365 | + entity.ToTable("road_passport"); | |
366 | + | |
367 | + entity.Property(e => e.RoadPassportId).HasColumnName("road_passport_id"); | |
368 | + | |
369 | + entity.Property(e => e.Begin).HasColumnName("begin"); | |
370 | + | |
371 | + entity.Property(e => e.End).HasColumnName("end"); | |
372 | + | |
373 | + entity.Property(e => e.RegionId).HasColumnName("region_id"); | |
374 | + | |
375 | + entity.Property(e => e.RoadId).HasColumnName("road_id"); | |
376 | + | |
377 | + entity.HasOne(d => d.Region) | |
378 | + .WithMany(p => p.RoadPassport) | |
379 | + .HasForeignKey(d => d.RegionId) | |
380 | + .OnDelete(DeleteBehavior.Cascade) | |
381 | + .HasConstraintName("road_passport_region_id_fkey"); | |
382 | + | |
383 | + entity.HasOne(d => d.Road) | |
384 | + .WithMany(p => p.RoadPassport) | |
385 | + .HasForeignKey(d => d.RoadId) | |
386 | + .OnDelete(DeleteBehavior.Cascade) | |
387 | + .HasConstraintName("road_passport_road_id_fkey"); | |
388 | + }); | |
389 | + | |
390 | + modelBuilder.Entity<RoadService>(entity => | |
391 | + { | |
392 | + entity.ToTable("road_service"); | |
393 | + | |
394 | + entity.Property(e => e.RoadServiceId).HasColumnName("road_service_id"); | |
395 | + | |
396 | + entity.Property(e => e.Begin).HasColumnName("begin"); | |
397 | + | |
398 | + entity.Property(e => e.End).HasColumnName("end"); | |
399 | + | |
400 | + entity.Property(e => e.OrganizationId).HasColumnName("organization_id"); | |
401 | + | |
402 | + entity.Property(e => e.RegionId).HasColumnName("region_id"); | |
403 | + | |
404 | + entity.Property(e => e.RoadDirectionId).HasColumnName("road_direction_id"); | |
405 | + | |
406 | + entity.Property(e => e.RoadId).HasColumnName("road_id"); | |
407 | + | |
408 | + entity.Property(e => e.YearBegin).HasColumnName("year_begin"); | |
409 | + | |
410 | + entity.HasOne(d => d.Organization) | |
411 | + .WithMany(p => p.RoadService) | |
412 | + .HasForeignKey(d => d.OrganizationId) | |
413 | + .OnDelete(DeleteBehavior.Cascade) | |
414 | + .HasConstraintName("road_service_organization_id_fkey"); | |
415 | + | |
416 | + entity.HasOne(d => d.Region) | |
417 | + .WithMany(p => p.RoadService) | |
418 | + .HasForeignKey(d => d.RegionId) | |
419 | + .OnDelete(DeleteBehavior.Cascade) | |
420 | + .HasConstraintName("road_service_region_id_fkey"); | |
421 | + | |
422 | + entity.HasOne(d => d.RoadDirection) | |
423 | + .WithMany(p => p.RoadService) | |
424 | + .HasForeignKey(d => d.RoadDirectionId) | |
425 | + .OnDelete(DeleteBehavior.Cascade) | |
426 | + .HasConstraintName("road_service_road_direction_id_fkey"); | |
427 | + | |
428 | + entity.HasOne(d => d.Road) | |
429 | + .WithMany(p => p.RoadService) | |
430 | + .HasForeignKey(d => d.RoadId) | |
431 | + .OnDelete(DeleteBehavior.Cascade) | |
432 | + .HasConstraintName("road_service_road_id_fkey"); | |
433 | + }); | |
434 | + | |
435 | + modelBuilder.Entity<RoadSurface>(entity => | |
436 | + { | |
437 | + entity.ToTable("road_surface"); | |
438 | + | |
439 | + entity.Property(e => e.RoadSurfaceId).HasColumnName("road_surface_id"); | |
440 | + | |
441 | + entity.Property(e => e.Begin).HasColumnName("begin"); | |
442 | + | |
443 | + entity.Property(e => e.CrossSectionNumber).HasColumnName("cross_section_number"); | |
444 | + | |
445 | + entity.Property(e => e.ElastisityModule).HasColumnName("elastisity_module"); | |
446 | + | |
447 | + entity.Property(e => e.End).HasColumnName("end"); | |
448 | + | |
449 | + entity.Property(e => e.LaneCountLeft).HasColumnName("lane_count_left"); | |
450 | + | |
451 | + entity.Property(e => e.LaneCountRight).HasColumnName("lane_count_right"); | |
452 | + | |
453 | + entity.Property(e => e.RegionId).HasColumnName("region_id"); | |
454 | + | |
455 | + entity.Property(e => e.RoadDirectionId).HasColumnName("road_direction_id"); | |
456 | + | |
457 | + entity.Property(e => e.RoadId).HasColumnName("road_id"); | |
458 | + | |
459 | + entity.Property(e => e.RoadSurfaceConstructionId) | |
460 | + .HasColumnName("road_surface_construction_id") | |
461 | + .HasColumnType("varchar") | |
462 | + .HasMaxLength(255); | |
463 | + | |
464 | + entity.Property(e => e.StateCommonId).HasColumnName("state_common_id"); | |
465 | + | |
466 | + entity.Property(e => e.SurfaceTreatmentId).HasColumnName("surface_treatment_id"); | |
467 | + | |
468 | + entity.Property(e => e.SurfaceTypeId).HasColumnName("surface_type_id"); | |
469 | + | |
470 | + entity.HasOne(d => d.Region) | |
471 | + .WithMany(p => p.RoadSurface) | |
472 | + .HasForeignKey(d => d.RegionId) | |
473 | + .OnDelete(DeleteBehavior.Cascade) | |
474 | + .HasConstraintName("road_surface_region_id_fkey"); | |
475 | + | |
476 | + entity.HasOne(d => d.RoadDirection) | |
477 | + .WithMany(p => p.RoadSurface) | |
478 | + .HasForeignKey(d => d.RoadDirectionId) | |
479 | + .OnDelete(DeleteBehavior.Cascade) | |
480 | + .HasConstraintName("road_surface_road_direction_id_fkey"); | |
481 | + | |
482 | + entity.HasOne(d => d.Road) | |
483 | + .WithMany(p => p.RoadSurface) | |
484 | + .HasForeignKey(d => d.RoadId) | |
485 | + .OnDelete(DeleteBehavior.Cascade) | |
486 | + .HasConstraintName("road_surface_road_id_fkey"); | |
487 | + | |
488 | + entity.HasOne(d => d.StateCommon) | |
489 | + .WithMany(p => p.RoadSurface) | |
490 | + .HasForeignKey(d => d.StateCommonId) | |
491 | + .OnDelete(DeleteBehavior.Cascade) | |
492 | + .HasConstraintName("road_surface_state_common_id_fkey"); | |
493 | + | |
494 | + entity.HasOne(d => d.SurfaceTreatment) | |
495 | + .WithMany(p => p.RoadSurface) | |
496 | + .HasForeignKey(d => d.SurfaceTreatmentId) | |
497 | + .OnDelete(DeleteBehavior.Cascade) | |
498 | + .HasConstraintName("road_surface_surface_treatment_id_fkey"); | |
499 | + | |
500 | + entity.HasOne(d => d.SurfaceType) | |
501 | + .WithMany(p => p.RoadSurface) | |
502 | + .HasForeignKey(d => d.SurfaceTypeId) | |
503 | + .OnDelete(DeleteBehavior.Cascade) | |
504 | + .HasConstraintName("road_surface_surface_type_id_fkey"); | |
505 | + }); | |
506 | + | |
507 | + modelBuilder.Entity<RoadType>(entity => | |
508 | + { | |
509 | + entity.ToTable("road_type"); | |
510 | + | |
511 | + entity.Property(e => e.RoadTypeId).HasColumnName("road_type_id"); | |
512 | + | |
513 | + entity.Property(e => e.Definition) | |
514 | + .HasColumnName("definition") | |
515 | + .HasColumnType("varchar") | |
516 | + .HasMaxLength(255); | |
517 | + | |
518 | + entity.Property(e => e.Value) | |
519 | + .HasColumnName("value") | |
520 | + .HasColumnType("varchar") | |
521 | + .HasMaxLength(255); | |
522 | + }); | |
523 | + | |
524 | + modelBuilder.Entity<RoadWidth>(entity => | |
525 | + { | |
526 | + entity.ToTable("road_width"); | |
527 | + | |
528 | + entity.Property(e => e.RoadWidthId).HasColumnName("road_width_id"); | |
529 | + | |
530 | + entity.Property(e => e.Begin).HasColumnName("begin"); | |
531 | + | |
532 | + entity.Property(e => e.CountLaneLeft).HasColumnName("count_lane_left"); | |
533 | + | |
534 | + entity.Property(e => e.CountLaneRight).HasColumnName("count_lane_right"); | |
535 | + | |
536 | + entity.Property(e => e.End).HasColumnName("end"); | |
537 | + | |
538 | + entity.Property(e => e.RegionId).HasColumnName("region_id"); | |
539 | + | |
540 | + entity.Property(e => e.RoadId).HasColumnName("road_id"); | |
541 | + | |
542 | + entity.Property(e => e.WidthReverseRoad).HasColumnName("width_reverse_road"); | |
543 | + | |
544 | + entity.Property(e => e.WidthRoadsideLeft).HasColumnName("width_roadside_left"); | |
545 | + | |
546 | + entity.Property(e => e.WidthRoadsideRight).HasColumnName("width_roadside_right"); | |
547 | + | |
548 | + entity.Property(e => e.WidthRoadwayForward).HasColumnName("width_roadway_forward"); | |
549 | + | |
550 | + entity.Property(e => e.WidthStrip).HasColumnName("width_strip"); | |
551 | + | |
552 | + entity.HasOne(d => d.Region) | |
553 | + .WithMany(p => p.RoadWidth) | |
554 | + .HasForeignKey(d => d.RegionId) | |
555 | + .OnDelete(DeleteBehavior.Cascade) | |
556 | + .HasConstraintName("road_width_region_id_fkey"); | |
557 | + | |
558 | + entity.HasOne(d => d.Road) | |
559 | + .WithMany(p => p.RoadWidth) | |
560 | + .HasForeignKey(d => d.RoadId) | |
561 | + .OnDelete(DeleteBehavior.Cascade) | |
562 | + .HasConstraintName("road_width_road_id_fkey"); | |
563 | + }); | |
564 | + | |
565 | + modelBuilder.Entity<ServiceObject>(entity => | |
566 | + { | |
567 | + entity.ToTable("service_object"); | |
568 | + | |
569 | + entity.Property(e => e.ServiceObjectId).HasColumnName("service_object_id"); | |
570 | + | |
571 | + entity.Property(e => e.ArrangementElements).HasColumnName("arrangement_elements"); | |
572 | + | |
573 | + entity.Property(e => e.Capacity).HasColumnName("capacity"); | |
574 | + | |
575 | + entity.Property(e => e.DepartmentAffiliationId).HasColumnName("department_affiliation_id"); | |
576 | + | |
577 | + entity.Property(e => e.Distance).HasColumnName("distance"); | |
578 | + | |
579 | + entity.Property(e => e.LocationAxis).HasColumnName("location_axis"); | |
580 | + | |
581 | + entity.Property(e => e.LocationLeft).HasColumnName("location_left"); | |
582 | + | |
583 | + entity.Property(e => e.LocationRight).HasColumnName("location_right"); | |
584 | + | |
585 | + entity.Property(e => e.RegionId).HasColumnName("region_id"); | |
586 | + | |
587 | + entity.Property(e => e.RoadId).HasColumnName("road_id"); | |
588 | + | |
589 | + entity.Property(e => e.ServiceObjectTypeId).HasColumnName("service_object_type_id"); | |
590 | + | |
591 | + entity.Property(e => e.SettlementId).HasColumnName("settlement_id"); | |
592 | + | |
593 | + entity.HasOne(d => d.DepartmentAffiliation) | |
594 | + .WithMany(p => p.ServiceObject) | |
595 | + .HasForeignKey(d => d.DepartmentAffiliationId) | |
596 | + .OnDelete(DeleteBehavior.Cascade) | |
597 | + .HasConstraintName("service_object_department_affiliation_id_fkey"); | |
598 | + | |
599 | + entity.HasOne(d => d.Region) | |
600 | + .WithMany(p => p.ServiceObject) | |
601 | + .HasForeignKey(d => d.RegionId) | |
602 | + .OnDelete(DeleteBehavior.Cascade) | |
603 | + .HasConstraintName("service_object_region_id_fkey"); | |
604 | + | |
605 | + entity.HasOne(d => d.Road) | |
606 | + .WithMany(p => p.ServiceObject) | |
607 | + .HasForeignKey(d => d.RoadId) | |
608 | + .OnDelete(DeleteBehavior.Cascade) | |
609 | + .HasConstraintName("service_object_road_id_fkey"); | |
610 | + | |
611 | + entity.HasOne(d => d.ServiceObjectType) | |
612 | + .WithMany(p => p.ServiceObject) | |
613 | + .HasForeignKey(d => d.ServiceObjectTypeId) | |
614 | + .OnDelete(DeleteBehavior.Cascade) | |
615 | + .HasConstraintName("service_object_service_object_type_id_fkey"); | |
616 | + | |
617 | + entity.HasOne(d => d.Settlement) | |
618 | + .WithMany(p => p.ServiceObject) | |
619 | + .HasForeignKey(d => d.SettlementId) | |
620 | + .OnDelete(DeleteBehavior.Cascade) | |
621 | + .HasConstraintName("service_object_settlement_id_fkey"); | |
622 | + }); | |
623 | + | |
624 | + modelBuilder.Entity<ServiceObjectType>(entity => | |
625 | + { | |
626 | + entity.ToTable("service_object_type"); | |
627 | + | |
628 | + entity.Property(e => e.ServiceObjectTypeId).HasColumnName("service_object_type_id"); | |
629 | + | |
630 | + entity.Property(e => e.Name) | |
631 | + .HasColumnName("name") | |
632 | + .HasColumnType("varchar") | |
633 | + .HasMaxLength(255); | |
634 | + }); | |
635 | + | |
636 | + modelBuilder.Entity<Settlement>(entity => | |
637 | + { | |
638 | + entity.ToTable("settlement"); | |
639 | + | |
640 | + entity.Property(e => e.SettlementId).HasColumnName("settlement_id"); | |
641 | + | |
642 | + entity.Property(e => e.Name) | |
643 | + .IsRequired() | |
644 | + .HasColumnName("name") | |
645 | + .HasColumnType("varchar") | |
646 | + .HasMaxLength(255); | |
647 | + | |
648 | + entity.Property(e => e.Sign) | |
649 | + .HasColumnName("sign") | |
650 | + .HasColumnType("varchar") | |
651 | + .HasMaxLength(255); | |
652 | + }); | |
653 | + | |
654 | + modelBuilder.Entity<SettlementAddressLink>(entity => | |
655 | + { | |
656 | + entity.ToTable("settlement_address_link"); | |
657 | + | |
658 | + entity.Property(e => e.SettlementAddressLinkId).HasColumnName("settlement_address_link_id"); | |
659 | + | |
660 | + entity.Property(e => e.Begin).HasColumnName("begin"); | |
661 | + | |
662 | + entity.Property(e => e.Distance).HasColumnName("distance"); | |
663 | + | |
664 | + entity.Property(e => e.End).HasColumnName("end"); | |
665 | + | |
666 | + entity.Property(e => e.RegionId).HasColumnName("region_id"); | |
667 | + | |
668 | + entity.Property(e => e.RoadId).HasColumnName("road_id"); | |
669 | + | |
670 | + entity.Property(e => e.SettlementId).HasColumnName("settlement_id"); | |
671 | + | |
672 | + entity.Property(e => e.SettlementLocationId).HasColumnName("settlement_location_id"); | |
673 | + | |
674 | + entity.HasOne(d => d.Region) | |
675 | + .WithMany(p => p.SettlementAddressLink) | |
676 | + .HasForeignKey(d => d.RegionId) | |
677 | + .OnDelete(DeleteBehavior.Cascade) | |
678 | + .HasConstraintName("settlement_address_link_region_id_fkey"); | |
679 | + | |
680 | + entity.HasOne(d => d.Road) | |
681 | + .WithMany(p => p.SettlementAddressLink) | |
682 | + .HasForeignKey(d => d.RoadId) | |
683 | + .OnDelete(DeleteBehavior.Cascade) | |
684 | + .HasConstraintName("settlement_address_link_road_id_fkey"); | |
685 | + | |
686 | + entity.HasOne(d => d.Settlement) | |
687 | + .WithMany(p => p.SettlementAddressLink) | |
688 | + .HasForeignKey(d => d.SettlementId) | |
689 | + .OnDelete(DeleteBehavior.Cascade) | |
690 | + .HasConstraintName("settlement_address_link_settlement_id_fkey"); | |
691 | + | |
692 | + entity.HasOne(d => d.SettlementLocation) | |
693 | + .WithMany(p => p.SettlementAddressLink) | |
694 | + .HasForeignKey(d => d.SettlementLocationId) | |
695 | + .OnDelete(DeleteBehavior.Cascade) | |
696 | + .HasConstraintName("settlement_address_link_settlement_location_id_fkey"); | |
697 | + }); | |
698 | + | |
699 | + modelBuilder.Entity<SettlementLocation>(entity => | |
700 | + { | |
701 | + entity.ToTable("settlement_location"); | |
702 | + | |
703 | + entity.Property(e => e.SettlementLocationId).HasColumnName("settlement_location_id"); | |
704 | + | |
705 | + entity.Property(e => e.Value) | |
706 | + .IsRequired() | |
707 | + .HasColumnName("value") | |
708 | + .HasColumnType("varchar") | |
709 | + .HasMaxLength(255); | |
710 | + }); | |
711 | + | |
712 | + modelBuilder.Entity<StateCommon>(entity => | |
713 | + { | |
714 | + entity.ToTable("state_common"); | |
715 | + | |
716 | + entity.Property(e => e.StateCommonId).HasColumnName("state_common_id"); | |
717 | + | |
718 | + entity.Property(e => e.Value) | |
719 | + .HasColumnName("value") | |
720 | + .HasColumnType("varchar") | |
721 | + .HasMaxLength(255); | |
722 | + }); | |
723 | + | |
724 | + modelBuilder.Entity<SurfaceTreatment>(entity => | |
725 | + { | |
726 | + entity.ToTable("surface_treatment"); | |
727 | + | |
728 | + entity.Property(e => e.SurfaceTreatmentId).HasColumnName("surface_treatment_id"); | |
729 | + | |
730 | + entity.Property(e => e.Name) | |
731 | + .HasColumnName("name") | |
732 | + .HasColumnType("varchar") | |
733 | + .HasMaxLength(255); | |
734 | + }); | |
735 | + | |
736 | + modelBuilder.Entity<SurfaceType>(entity => | |
737 | + { | |
738 | + entity.ToTable("surface_type"); | |
739 | + | |
740 | + entity.Property(e => e.SurfaceTypeId).HasColumnName("surface_type_id"); | |
741 | + | |
742 | + entity.Property(e => e.Name) | |
743 | + .HasColumnName("name") | |
744 | + .HasColumnType("varchar") | |
745 | + .HasMaxLength(255); | |
746 | + }); | |
747 | + } | |
748 | + | |
749 | + public virtual DbSet<BusStop> BusStop { get; set; } | |
750 | + public virtual DbSet<CrossSection> CrossSection { get; set; } | |
751 | + public virtual DbSet<DepartmentAffiliation> DepartmentAffiliation { get; set; } | |
752 | + public virtual DbSet<FlowIntensity> FlowIntensity { get; set; } | |
753 | + public virtual DbSet<Organization> Organization { get; set; } | |
754 | + public virtual DbSet<Region> Region { get; set; } | |
755 | + public virtual DbSet<Road> Road { get; set; } | |
756 | + public virtual DbSet<RoadCategory> RoadCategory { get; set; } | |
757 | + public virtual DbSet<RoadDirection> RoadDirection { get; set; } | |
758 | + public virtual DbSet<RoadPassport> RoadPassport { get; set; } | |
759 | + public virtual DbSet<RoadService> RoadService { get; set; } | |
760 | + public virtual DbSet<RoadSurface> RoadSurface { get; set; } | |
761 | + public virtual DbSet<RoadType> RoadType { get; set; } | |
762 | + public virtual DbSet<RoadWidth> RoadWidth { get; set; } | |
763 | + public virtual DbSet<ServiceObject> ServiceObject { get; set; } | |
764 | + public virtual DbSet<ServiceObjectType> ServiceObjectType { get; set; } | |
765 | + public virtual DbSet<Settlement> Settlement { get; set; } | |
766 | + public virtual DbSet<SettlementAddressLink> SettlementAddressLink { get; set; } | |
767 | + public virtual DbSet<SettlementLocation> SettlementLocation { get; set; } | |
768 | + public virtual DbSet<StateCommon> StateCommon { get; set; } | |
769 | + public virtual DbSet<SurfaceTreatment> SurfaceTreatment { get; set; } | |
770 | + public virtual DbSet<SurfaceType> SurfaceType { get; set; } | |
771 | + } | |
772 | +} | |
0 | 773 | \ No newline at end of file | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class Region | |
7 | + { | |
8 | + public Region() | |
9 | + { | |
10 | + BusStop = new HashSet<BusStop>(); | |
11 | + CrossSection = new HashSet<CrossSection>(); | |
12 | + FlowIntensity = new HashSet<FlowIntensity>(); | |
13 | + RoadPassport = new HashSet<RoadPassport>(); | |
14 | + RoadService = new HashSet<RoadService>(); | |
15 | + RoadSurface = new HashSet<RoadSurface>(); | |
16 | + RoadWidth = new HashSet<RoadWidth>(); | |
17 | + ServiceObject = new HashSet<ServiceObject>(); | |
18 | + SettlementAddressLink = new HashSet<SettlementAddressLink>(); | |
19 | + } | |
20 | + | |
21 | + public int RegionId { get; set; } | |
22 | + public string Name { get; set; } | |
23 | + public int? Index { get; set; } | |
24 | + | |
25 | + public virtual ICollection<BusStop> BusStop { get; set; } | |
26 | + public virtual ICollection<CrossSection> CrossSection { get; set; } | |
27 | + public virtual ICollection<FlowIntensity> FlowIntensity { get; set; } | |
28 | + public virtual ICollection<RoadPassport> RoadPassport { get; set; } | |
29 | + public virtual ICollection<RoadService> RoadService { get; set; } | |
30 | + public virtual ICollection<RoadSurface> RoadSurface { get; set; } | |
31 | + public virtual ICollection<RoadWidth> RoadWidth { get; set; } | |
32 | + public virtual ICollection<ServiceObject> ServiceObject { get; set; } | |
33 | + public virtual ICollection<SettlementAddressLink> SettlementAddressLink { get; set; } | |
34 | + } | |
35 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class Road | |
7 | + { | |
8 | + public Road() | |
9 | + { | |
10 | + BusStop = new HashSet<BusStop>(); | |
11 | + CrossSection = new HashSet<CrossSection>(); | |
12 | + FlowIntensity = new HashSet<FlowIntensity>(); | |
13 | + RoadPassport = new HashSet<RoadPassport>(); | |
14 | + RoadService = new HashSet<RoadService>(); | |
15 | + RoadSurface = new HashSet<RoadSurface>(); | |
16 | + RoadWidth = new HashSet<RoadWidth>(); | |
17 | + ServiceObject = new HashSet<ServiceObject>(); | |
18 | + SettlementAddressLink = new HashSet<SettlementAddressLink>(); | |
19 | + } | |
20 | + | |
21 | + public int RoadId { get; set; } | |
22 | + public string Name { get; set; } | |
23 | + public string Value { get; set; } | |
24 | + public double? Length { get; set; } | |
25 | + public string HistoricalBackground { get; set; } | |
26 | + public string EconomicValue { get; set; } | |
27 | + public string LawDoc { get; set; } | |
28 | + public string AcceptTransferDoc { get; set; } | |
29 | + public string AcceptanceDoc { get; set; } | |
30 | + public string AuthorityAct { get; set; } | |
31 | + public int? RoadTypeId { get; set; } | |
32 | + public int Index { get; set; } | |
33 | + | |
34 | + public virtual ICollection<BusStop> BusStop { get; set; } | |
35 | + public virtual ICollection<CrossSection> CrossSection { get; set; } | |
36 | + public virtual ICollection<FlowIntensity> FlowIntensity { get; set; } | |
37 | + public virtual ICollection<RoadPassport> RoadPassport { get; set; } | |
38 | + public virtual ICollection<RoadService> RoadService { get; set; } | |
39 | + public virtual ICollection<RoadSurface> RoadSurface { get; set; } | |
40 | + public virtual ICollection<RoadWidth> RoadWidth { get; set; } | |
41 | + public virtual ICollection<ServiceObject> ServiceObject { get; set; } | |
42 | + public virtual ICollection<SettlementAddressLink> SettlementAddressLink { get; set; } | |
43 | + public virtual RoadType RoadType { get; set; } | |
44 | + } | |
45 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class RoadDirection | |
7 | + { | |
8 | + public RoadDirection() | |
9 | + { | |
10 | + FlowIntensity = new HashSet<FlowIntensity>(); | |
11 | + RoadService = new HashSet<RoadService>(); | |
12 | + RoadSurface = new HashSet<RoadSurface>(); | |
13 | + } | |
14 | + | |
15 | + public int RoadDirectionId { get; set; } | |
16 | + public string DirectionName { get; set; } | |
17 | + | |
18 | + public virtual ICollection<FlowIntensity> FlowIntensity { get; set; } | |
19 | + public virtual ICollection<RoadService> RoadService { get; set; } | |
20 | + public virtual ICollection<RoadSurface> RoadSurface { get; set; } | |
21 | + } | |
22 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class RoadPassport | |
7 | + { | |
8 | + public int RoadPassportId { get; set; } | |
9 | + public int? RoadId { get; set; } | |
10 | + public int? RegionId { get; set; } | |
11 | + public double? Begin { get; set; } | |
12 | + public double? End { get; set; } | |
13 | + | |
14 | + public virtual Region Region { get; set; } | |
15 | + public virtual Road Road { get; set; } | |
16 | + } | |
17 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class RoadService | |
7 | + { | |
8 | + public int RoadServiceId { get; set; } | |
9 | + public int? RoadId { get; set; } | |
10 | + public int? RegionId { get; set; } | |
11 | + public int? RoadDirectionId { get; set; } | |
12 | + public int? OrganizationId { get; set; } | |
13 | + public double? Begin { get; set; } | |
14 | + public double? End { get; set; } | |
15 | + public int? YearBegin { get; set; } | |
16 | + | |
17 | + public virtual Organization Organization { get; set; } | |
18 | + public virtual Region Region { get; set; } | |
19 | + public virtual RoadDirection RoadDirection { get; set; } | |
20 | + public virtual Road Road { get; set; } | |
21 | + } | |
22 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class RoadSurface | |
7 | + { | |
8 | + public int RoadSurfaceId { get; set; } | |
9 | + public int? RoadId { get; set; } | |
10 | + public int? RegionId { get; set; } | |
11 | + public int? RoadDirectionId { get; set; } | |
12 | + public int? SurfaceTypeId { get; set; } | |
13 | + public int? SurfaceTreatmentId { get; set; } | |
14 | + public int? StateCommonId { get; set; } | |
15 | + public int? CrossSectionNumber { get; set; } | |
16 | + public double? Begin { get; set; } | |
17 | + public double? End { get; set; } | |
18 | + public int? LaneCountLeft { get; set; } | |
19 | + public int? LaneCountRight { get; set; } | |
20 | + public string RoadSurfaceConstructionId { get; set; } | |
21 | + public double? ElastisityModule { get; set; } | |
22 | + | |
23 | + public virtual Region Region { get; set; } | |
24 | + public virtual RoadDirection RoadDirection { get; set; } | |
25 | + public virtual Road Road { get; set; } | |
26 | + public virtual StateCommon StateCommon { get; set; } | |
27 | + public virtual SurfaceTreatment SurfaceTreatment { get; set; } | |
28 | + public virtual SurfaceType SurfaceType { get; set; } | |
29 | + } | |
30 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class RoadType | |
7 | + { | |
8 | + public RoadType() | |
9 | + { | |
10 | + Road = new HashSet<Road>(); | |
11 | + } | |
12 | + | |
13 | + public int RoadTypeId { get; set; } | |
14 | + public string Value { get; set; } | |
15 | + public string Definition { get; set; } | |
16 | + | |
17 | + public virtual ICollection<Road> Road { get; set; } | |
18 | + } | |
19 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class RoadWidth | |
7 | + { | |
8 | + public int RoadWidthId { get; set; } | |
9 | + public int? RegionId { get; set; } | |
10 | + public int? RoadId { get; set; } | |
11 | + public double? Begin { get; set; } | |
12 | + public double? End { get; set; } | |
13 | + public double? WidthRoadsideLeft { get; set; } | |
14 | + public double? WidthReverseRoad { get; set; } | |
15 | + public double? WidthStrip { get; set; } | |
16 | + public double? WidthRoadwayForward { get; set; } | |
17 | + public double? WidthRoadsideRight { get; set; } | |
18 | + public double? CountLaneLeft { get; set; } | |
19 | + public double? CountLaneRight { get; set; } | |
20 | + | |
21 | + public virtual Region Region { get; set; } | |
22 | + public virtual Road Road { get; set; } | |
23 | + } | |
24 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class ServiceObject | |
7 | + { | |
8 | + public int ServiceObjectId { get; set; } | |
9 | + public int? RoadId { get; set; } | |
10 | + public int? RegionId { get; set; } | |
11 | + public int? ServiceObjectTypeId { get; set; } | |
12 | + public int? SettlementId { get; set; } | |
13 | + public int? DepartmentAffiliationId { get; set; } | |
14 | + public double? LocationRight { get; set; } | |
15 | + public double? LocationLeft { get; set; } | |
16 | + public double? LocationAxis { get; set; } | |
17 | + public double? Distance { get; set; } | |
18 | + public double? Capacity { get; set; } | |
19 | + public string ArrangementElements { get; set; } | |
20 | + | |
21 | + public virtual DepartmentAffiliation DepartmentAffiliation { get; set; } | |
22 | + public virtual Region Region { get; set; } | |
23 | + public virtual Road Road { get; set; } | |
24 | + public virtual ServiceObjectType ServiceObjectType { get; set; } | |
25 | + public virtual Settlement Settlement { get; set; } | |
26 | + } | |
27 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class ServiceObjectType | |
7 | + { | |
8 | + public ServiceObjectType() | |
9 | + { | |
10 | + ServiceObject = new HashSet<ServiceObject>(); | |
11 | + } | |
12 | + | |
13 | + public int ServiceObjectTypeId { get; set; } | |
14 | + public string Name { get; set; } | |
15 | + | |
16 | + public virtual ICollection<ServiceObject> ServiceObject { get; set; } | |
17 | + } | |
18 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class Settlement | |
7 | + { | |
8 | + public Settlement() | |
9 | + { | |
10 | + BusStop = new HashSet<BusStop>(); | |
11 | + FlowIntensity = new HashSet<FlowIntensity>(); | |
12 | + ServiceObject = new HashSet<ServiceObject>(); | |
13 | + SettlementAddressLink = new HashSet<SettlementAddressLink>(); | |
14 | + } | |
15 | + | |
16 | + public int SettlementId { get; set; } | |
17 | + public string Name { get; set; } | |
18 | + public string Sign { get; set; } | |
19 | + | |
20 | + public virtual ICollection<BusStop> BusStop { get; set; } | |
21 | + public virtual ICollection<FlowIntensity> FlowIntensity { get; set; } | |
22 | + public virtual ICollection<ServiceObject> ServiceObject { get; set; } | |
23 | + public virtual ICollection<SettlementAddressLink> SettlementAddressLink { get; set; } | |
24 | + } | |
25 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class SettlementAddressLink | |
7 | + { | |
8 | + public int SettlementAddressLinkId { get; set; } | |
9 | + public int? RoadId { get; set; } | |
10 | + public int? RegionId { get; set; } | |
11 | + public int? SettlementLocationId { get; set; } | |
12 | + public int? SettlementId { get; set; } | |
13 | + public double? Begin { get; set; } | |
14 | + public double? End { get; set; } | |
15 | + public double? Distance { get; set; } | |
16 | + | |
17 | + public virtual Region Region { get; set; } | |
18 | + public virtual Road Road { get; set; } | |
19 | + public virtual Settlement Settlement { get; set; } | |
20 | + public virtual SettlementLocation SettlementLocation { get; set; } | |
21 | + } | |
22 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class SettlementLocation | |
7 | + { | |
8 | + public SettlementLocation() | |
9 | + { | |
10 | + SettlementAddressLink = new HashSet<SettlementAddressLink>(); | |
11 | + } | |
12 | + | |
13 | + public int SettlementLocationId { get; set; } | |
14 | + public string Value { get; set; } | |
15 | + | |
16 | + public virtual ICollection<SettlementAddressLink> SettlementAddressLink { get; set; } | |
17 | + } | |
18 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class StateCommon | |
7 | + { | |
8 | + public StateCommon() | |
9 | + { | |
10 | + BusStop = new HashSet<BusStop>(); | |
11 | + CrossSection = new HashSet<CrossSection>(); | |
12 | + RoadSurface = new HashSet<RoadSurface>(); | |
13 | + } | |
14 | + | |
15 | + public int StateCommonId { get; set; } | |
16 | + public string Value { get; set; } | |
17 | + | |
18 | + public virtual ICollection<BusStop> BusStop { get; set; } | |
19 | + public virtual ICollection<CrossSection> CrossSection { get; set; } | |
20 | + public virtual ICollection<RoadSurface> RoadSurface { get; set; } | |
21 | + } | |
22 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class SurfaceTreatment | |
7 | + { | |
8 | + public SurfaceTreatment() | |
9 | + { | |
10 | + RoadSurface = new HashSet<RoadSurface>(); | |
11 | + } | |
12 | + | |
13 | + public int SurfaceTreatmentId { get; set; } | |
14 | + public string Name { get; set; } | |
15 | + | |
16 | + public virtual ICollection<RoadSurface> RoadSurface { get; set; } | |
17 | + } | |
18 | +} | ... | ... |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | + | |
4 | +namespace Maps.Entities | |
5 | +{ | |
6 | + public partial class SurfaceType | |
7 | + { | |
8 | + public SurfaceType() | |
9 | + { | |
10 | + BusStop = new HashSet<BusStop>(); | |
11 | + CrossSection = new HashSet<CrossSection>(); | |
12 | + RoadSurface = new HashSet<RoadSurface>(); | |
13 | + } | |
14 | + | |
15 | + public int SurfaceTypeId { get; set; } | |
16 | + public string Name { get; set; } | |
17 | + | |
18 | + public virtual ICollection<BusStop> BusStop { get; set; } | |
19 | + public virtual ICollection<CrossSection> CrossSection { get; set; } | |
20 | + public virtual ICollection<RoadSurface> RoadSurface { get; set; } | |
21 | + } | |
22 | +} | ... | ... |
Maps.xproj.user
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | - <PropertyGroup /> | |
3 | + <PropertyGroup> | |
4 | + <ActiveDebugProfile>IIS Express</ActiveDebugProfile> | |
5 | + </PropertyGroup> | |
4 | 6 | </Project> |
5 | 7 | \ No newline at end of file | ... | ... |
project.json
1 | 1 | { |
2 | - "dependencies": { | |
3 | - "Microsoft.NETCore.App": { | |
4 | - "version": "1.0.1", | |
5 | - "type": "platform" | |
2 | + "dependencies": { | |
3 | + "Microsoft.NETCore.App": { | |
4 | + "version": "1.0.1", | |
5 | + "type": "platform" | |
6 | + }, | |
7 | + "Microsoft.ApplicationInsights.AspNetCore": "1.0.0", | |
8 | + "Microsoft.AspNetCore.Diagnostics": "1.0.0", | |
9 | + "Microsoft.AspNetCore.Mvc": "1.0.1", | |
10 | + "Microsoft.AspNetCore.Razor.Tools": { | |
11 | + "version": "1.0.0-preview2-final", | |
12 | + "type": "build" | |
13 | + }, | |
14 | + "Microsoft.AspNetCore.Routing": "1.0.1", | |
15 | + "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0", | |
16 | + "Microsoft.AspNetCore.Server.Kestrel": "1.0.1", | |
17 | + "Microsoft.AspNetCore.StaticFiles": "1.0.0", | |
18 | + "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0", | |
19 | + "Microsoft.Extensions.Configuration.Json": "1.0.0", | |
20 | + "Microsoft.Extensions.Logging": "1.0.0", | |
21 | + "Microsoft.Extensions.Logging.Console": "1.0.0", | |
22 | + "Microsoft.Extensions.Logging.Debug": "1.0.0", | |
23 | + "Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0", | |
24 | + "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0", | |
25 | + "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final", | |
26 | + "Npgsql.EntityFrameworkCore.PostgreSQL": "1.0.2", | |
27 | + "Npgsql.EntityFrameworkCore.PostgreSQL.Design": "1.0.2" | |
6 | 28 | }, |
7 | - "Microsoft.ApplicationInsights.AspNetCore": "1.0.0", | |
8 | - "Microsoft.AspNetCore.Diagnostics": "1.0.0", | |
9 | - "Microsoft.AspNetCore.Mvc": "1.0.1", | |
10 | - "Microsoft.AspNetCore.Razor.Tools": { | |
11 | - "version": "1.0.0-preview2-final", | |
12 | - "type": "build" | |
13 | - }, | |
14 | - "Microsoft.AspNetCore.Routing": "1.0.1", | |
15 | - "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0", | |
16 | - "Microsoft.AspNetCore.Server.Kestrel": "1.0.1", | |
17 | - "Microsoft.AspNetCore.StaticFiles": "1.0.0", | |
18 | - "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0", | |
19 | - "Microsoft.Extensions.Configuration.Json": "1.0.0", | |
20 | - "Microsoft.Extensions.Logging": "1.0.0", | |
21 | - "Microsoft.Extensions.Logging.Console": "1.0.0", | |
22 | - "Microsoft.Extensions.Logging.Debug": "1.0.0", | |
23 | - "Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0", | |
24 | - "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0", | |
25 | - "Npgsql.EntityFrameworkCore.PostgreSQL": "1.0.2", | |
26 | - "Npgsql.EntityFrameworkCore.PostgreSQL.Design":"1.0.2" | |
27 | - }, | |
28 | 29 | |
29 | - "tools": { | |
30 | - "BundlerMinifier.Core": "2.0.238", | |
31 | - "Microsoft.AspNetCore.Razor.Tools": "1.0.0-preview2-final", | |
32 | - "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final" | |
33 | - }, | |
30 | + "tools": { | |
31 | + "BundlerMinifier.Core": "2.0.238", | |
32 | + "Microsoft.EntityFrameworkCore.Tools": { | |
33 | + "version": "1.0.0-preview2-final", | |
34 | + "imports": "portable-net45+win8+dnxcore50" | |
35 | + }, | |
36 | + "Microsoft.AspNetCore.Razor.Tools": "1.0.0-preview2-final", | |
37 | + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final" | |
38 | + }, | |
34 | 39 | |
35 | 40 | "frameworks": { |
36 | 41 | "netcoreapp1.0": { | ... | ... |
project.lock.json
... | ... | @@ -994,6 +994,20 @@ |
994 | 994 | "lib/netstandard1.3/Microsoft.EntityFrameworkCore.dll": {} |
995 | 995 | } |
996 | 996 | }, |
997 | + "Microsoft.EntityFrameworkCore.Design/1.0.0-preview2-final": { | |
998 | + "type": "package", | |
999 | + "dependencies": { | |
1000 | + "Microsoft.EntityFrameworkCore.Design.Core": "1.0.0-preview2-final", | |
1001 | + "Microsoft.Extensions.CommandLineUtils": "1.0.0", | |
1002 | + "Microsoft.NETCore.App": "1.0.0" | |
1003 | + }, | |
1004 | + "compile": { | |
1005 | + "lib/netcoreapp1.0/Microsoft.EntityFrameworkCore.Design.dll": {} | |
1006 | + }, | |
1007 | + "runtime": { | |
1008 | + "lib/netcoreapp1.0/Microsoft.EntityFrameworkCore.Design.dll": {} | |
1009 | + } | |
1010 | + }, | |
997 | 1011 | "Microsoft.EntityFrameworkCore.Design.Core/1.0.0-preview2-final": { |
998 | 1012 | "type": "package", |
999 | 1013 | "dependencies": { |
... | ... | @@ -1039,6 +1053,23 @@ |
1039 | 1053 | "lib/netstandard1.3/Microsoft.EntityFrameworkCore.Relational.Design.dll": {} |
1040 | 1054 | } |
1041 | 1055 | }, |
1056 | + "Microsoft.EntityFrameworkCore.Tools/1.0.0-preview2-final": { | |
1057 | + "type": "package", | |
1058 | + "dependencies": { | |
1059 | + "Microsoft.DotNet.Cli.Utils": "1.0.0-preview2-003121", | |
1060 | + "Microsoft.DotNet.ProjectModel": "1.0.0-rc3-003121", | |
1061 | + "Microsoft.EntityFrameworkCore.Design": "1.0.0-preview2-final", | |
1062 | + "Microsoft.Extensions.CommandLineUtils": "1.0.0", | |
1063 | + "Microsoft.NETCore.App": "1.0.0", | |
1064 | + "System.Runtime.InteropServices.RuntimeInformation": "4.0.0" | |
1065 | + }, | |
1066 | + "compile": { | |
1067 | + "lib/netcoreapp1.0/dotnet-ef.dll": {} | |
1068 | + }, | |
1069 | + "runtime": { | |
1070 | + "lib/netcoreapp1.0/dotnet-ef.dll": {} | |
1071 | + } | |
1072 | + }, | |
1042 | 1073 | "Microsoft.Extensions.Caching.Abstractions/1.0.0": { |
1043 | 1074 | "type": "package", |
1044 | 1075 | "dependencies": { |
... | ... | @@ -4866,6 +4897,22 @@ |
4866 | 4897 | "lib/netstandard1.3/Microsoft.EntityFrameworkCore.xml" |
4867 | 4898 | ] |
4868 | 4899 | }, |
4900 | + "Microsoft.EntityFrameworkCore.Design/1.0.0-preview2-final": { | |
4901 | + "sha512": "RhyjntECuOVsrKjgFog9rv+V7oBsxBNxz5NviF7uHvDDQXLyHH3os/CewQxRNsve114AQH5RX/Bww6qAXlSORQ==", | |
4902 | + "type": "package", | |
4903 | + "path": "Microsoft.EntityFrameworkCore.Design/1.0.0-preview2-final", | |
4904 | + "files": [ | |
4905 | + "Microsoft.EntityFrameworkCore.Design.1.0.0-preview2-final.nupkg.sha512", | |
4906 | + "Microsoft.EntityFrameworkCore.Design.nuspec", | |
4907 | + "lib/net451/_._", | |
4908 | + "lib/netcore50/_._", | |
4909 | + "lib/netcoreapp1.0/Microsoft.EntityFrameworkCore.Design.dll", | |
4910 | + "lib/netcoreapp1.0/Microsoft.EntityFrameworkCore.Design.runtimeconfig.json", | |
4911 | + "lib/netcoreapp1.0/Microsoft.EntityFrameworkCore.Design.xml", | |
4912 | + "runtimes/win7-x64/lib/net451/Microsoft.EntityFrameworkCore.Design.exe", | |
4913 | + "runtimes/win7-x86/lib/net451/Microsoft.EntityFrameworkCore.Design.exe" | |
4914 | + ] | |
4915 | + }, | |
4869 | 4916 | "Microsoft.EntityFrameworkCore.Design.Core/1.0.0-preview2-final": { |
4870 | 4917 | "sha512": "H3pHksGErQSEwWyvISlDYMslIXftS4XB2m0AvqBS08ECGHagh27mqm/oIyUetzzRad+C2V0zpguJmR14eMiRaA==", |
4871 | 4918 | "type": "package", |
... | ... | @@ -4905,6 +4952,29 @@ |
4905 | 4952 | "lib/netstandard1.3/Microsoft.EntityFrameworkCore.Relational.Design.xml" |
4906 | 4953 | ] |
4907 | 4954 | }, |
4955 | + "Microsoft.EntityFrameworkCore.Tools/1.0.0-preview2-final": { | |
4956 | + "sha512": "x+OkqEMERFJY9cAFBZsNPEmZEApAakay2yhE3CD+nyc+HtJDFbyX+spcnOxUjZ2w+YqAdzT6L3DzjlCbRLv9vQ==", | |
4957 | + "type": "package", | |
4958 | + "path": "Microsoft.EntityFrameworkCore.Tools/1.0.0-preview2-final", | |
4959 | + "files": [ | |
4960 | + "Microsoft.EntityFrameworkCore.Tools.1.0.0-preview2-final.nupkg.sha512", | |
4961 | + "Microsoft.EntityFrameworkCore.Tools.nuspec", | |
4962 | + "lib/net451/Microsoft.EntityFrameworkCore.Tools.dll", | |
4963 | + "lib/net451/Microsoft.EntityFrameworkCore.Tools.xml", | |
4964 | + "lib/netcore50/_._", | |
4965 | + "lib/netcoreapp1.0/dotnet-ef.dll", | |
4966 | + "lib/netcoreapp1.0/dotnet-ef.runtimeconfig.json", | |
4967 | + "lib/netcoreapp1.0/dotnet-ef.xml", | |
4968 | + "tools/EntityFrameworkCore.PowerShell2.psd1", | |
4969 | + "tools/EntityFrameworkCore.PowerShell2.psm1", | |
4970 | + "tools/EntityFrameworkCore.psd1", | |
4971 | + "tools/EntityFrameworkCore.psm1", | |
4972 | + "tools/OperationHandlers.cs", | |
4973 | + "tools/about_EntityFrameworkCore.help.txt", | |
4974 | + "tools/init.ps1", | |
4975 | + "tools/install.ps1" | |
4976 | + ] | |
4977 | + }, | |
4908 | 4978 | "Microsoft.Extensions.Caching.Abstractions/1.0.0": { |
4909 | 4979 | "sha512": "IxlFDVOchL6tdR05bk7EiJvMtvZrVkZXBhkbXqc3GxOHOrHFGcN+92WoWFPeBpdpy8ot/Px5ZdXzt7k+2n1Bdg==", |
4910 | 4980 | "type": "package", |
... | ... | @@ -10486,6 +10556,7 @@ |
10486 | 10556 | "Microsoft.AspNetCore.Server.IISIntegration >= 1.0.0", |
10487 | 10557 | "Microsoft.AspNetCore.Server.Kestrel >= 1.0.1", |
10488 | 10558 | "Microsoft.AspNetCore.StaticFiles >= 1.0.0", |
10559 | + "Microsoft.EntityFrameworkCore.Tools >= 1.0.0-preview2-final", | |
10489 | 10560 | "Microsoft.Extensions.Configuration.EnvironmentVariables >= 1.0.0", |
10490 | 10561 | "Microsoft.Extensions.Configuration.Json >= 1.0.0", |
10491 | 10562 | "Microsoft.Extensions.Logging >= 1.0.0", |
... | ... | @@ -10515,6 +10586,23 @@ |
10515 | 10586 | "lib/netcoreapp1.0/dotnet-bundle.dll": {} |
10516 | 10587 | } |
10517 | 10588 | }, |
10589 | + "Microsoft.EntityFrameworkCore.Tools/1.0.0-preview2-final": { | |
10590 | + "type": "package", | |
10591 | + "dependencies": { | |
10592 | + "Microsoft.DotNet.Cli.Utils": "1.0.0-preview2-003121", | |
10593 | + "Microsoft.DotNet.ProjectModel": "1.0.0-rc3-003121", | |
10594 | + "Microsoft.EntityFrameworkCore.Design": "1.0.0-preview2-final", | |
10595 | + "Microsoft.Extensions.CommandLineUtils": "1.0.0", | |
10596 | + "Microsoft.NETCore.App": "1.0.0", | |
10597 | + "System.Runtime.InteropServices.RuntimeInformation": "4.0.0" | |
10598 | + }, | |
10599 | + "compile": { | |
10600 | + "lib/netcoreapp1.0/dotnet-ef.dll": {} | |
10601 | + }, | |
10602 | + "runtime": { | |
10603 | + "lib/netcoreapp1.0/dotnet-ef.dll": {} | |
10604 | + } | |
10605 | + }, | |
10518 | 10606 | "Microsoft.AspNetCore.Razor.Tools/1.0.0-preview2-final": { |
10519 | 10607 | "type": "package", |
10520 | 10608 | "dependencies": { |
... | ... | @@ -10556,7 +10644,8 @@ |
10556 | 10644 | ".NETCoreApp,Version=v1.0": [ |
10557 | 10645 | "BundlerMinifier.Core >= 2.0.238", |
10558 | 10646 | "Microsoft.AspNetCore.Razor.Tools >= 1.0.0-preview2-final", |
10559 | - "Microsoft.AspNetCore.Server.IISIntegration.Tools >= 1.0.0-preview2-final" | |
10647 | + "Microsoft.AspNetCore.Server.IISIntegration.Tools >= 1.0.0-preview2-final", | |
10648 | + "Microsoft.EntityFrameworkCore.Tools >= 1.0.0-preview2-final" | |
10560 | 10649 | ] |
10561 | 10650 | } |
10562 | 10651 | } |
10563 | 10652 | \ No newline at end of file | ... | ... |