Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using SQLite;
- namespace VehicleTracks.Models
- {
- public class vehicles
- {
- [PrimaryKey, AutoIncrement]
- public int ID { get; set; }
- public string VehID { get; set; }
- public string VehYear { get; set; }
- public string VehMake { get; set; }
- public string VehModel { get; set; }
- public string VehColor { get; set; }
- public string EngineID { get; set; }
- public System.DateTime PurchaseDate { get; set; }
- public string SellerName { get; set; }
- public string SellerStreet { get; set; }
- public string SellerCityStateZip { get; set; }
- public string VehOptions { get; set; }
- public string OdomInitial { get; set; }
- public string VehBodyStyle { get; set; }
- public float PurchaseCost { get; set; }
- public byte[] VehPhoto { get; set; }
- public string VehType { get; set; }
- public string Sold { get; set; }
- }
- }
- sqlite> CREATE TABLE app (a INTEGER PRIMARY KEY NOT NULL, B VARCHAR);
- sqlite> insert into app (b) values ('');
- sqlite> insert into app (b) values ('a');
- sqlite>
- sqlite> insert into app (b) values ('b');
- sqlite> insert into app (b) values ('c');
- sqlite> insert into app (b) values ('d');
- sqlite> select * from app;
- 1|
- 2|a
- 3|b
- 4|c
- 5|d
- sqlite> exit;
Add Comment
Please, Sign In to add comment