Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public partial class Driver
- {
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
- public Driver()
- {
- this.trip_tab = new HashSet<Trip>();
- }
- public string ID { get; set; }
- public string DriverTypeID { get; set; }
- public string VehicleID { get; set; }
- public string Name { get; set; }
- public string ContactNo { get; set; }
- public string Comment { get; set; }
- public virtual DriverType drivertype_tab { get; set; }
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
- public virtual ICollection<Trip> trip_tab { get; set; }
- }
- public partial class DriverType
- {
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
- public DriverType()
- {
- this.driver_tab = new HashSet<Driver>();
- }
- public string ID { get; set; }
- public string Type { get; set; }
- public string Comment { get; set; }
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
- public virtual ICollection<Driver> driver_tab { get; set; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement