SHARE
TWEET

Company

pabloducato May 12th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using SQLite;
  5. using CRUD.Views;
  6. using CRUD.Models;
  7.  
  8. namespace CRUD.Models
  9. {
  10.     public class Company
  11.     {
  12.         [PrimaryKey]
  13.         public int Id { get; set; }
  14.         public string Name { get; set; }
  15.         public string Address { get; set; }
  16.  
  17.         public override string ToString()
  18.         {
  19.             return this.Name + "(" + this.Address + ")";
  20.         }
  21.     }
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top