Привет. Есть база данных, где колонка называется
reward_type, а типа данных этой колонны
violation_reward_type
HasPostgresEnum(null, "violation_reward_type", new[] { "charity", "reward", "no_reward" })
HasPostgresEnum(null, "incident_status", new[] { "pending", "consideration", "confirmed", "rejected", "paid" })
ViolationRequest vr = new ViolationRequest {Id = i, UserId = 20, OptimizerId = 21, DriverId = 21, ModeratorId = 21, TypeId = 13, AsbtRegionId = 5, AsbtDistrictId = 5, IncidentDate = DateTime.Now, ConfirmedDate = DateTime.Now, RejectedDate = DateTime.Now, Latitude = 54.123123, Longitude = 52.123123, Address = "dsada", ViolationDescription = "dsadad",
reward_type = ,
status = ,FilesDir = "asdasdad", DisplayOnFeed = false, Reason = "dasdasd", Mark = 5, CreatedDate = DateTime.Now, ModifiedDate = DateTime.Now, IsDeleted = false };
Что нужно мне написать в reward_type и status ?
Как выглядит эта вставка данных??