This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
|
using LinqToDB.Mapping;
|
|
|
|
namespace trainav.web.database.Tables {
|
|
[Table(Name = "Trips")]
|
|
public class Trip {
|
|
[Column(Name = "TripID"), PrimaryKey, Identity, NotNull]
|
|
public int TripId { get; set; }
|
|
|
|
[Column(Name = "UserID"), PrimaryKey, NotNull]
|
|
public int UserId { get; set; }
|
|
}
|
|
} |