示例#1
0
        public ACTOSADevice GetACTOSADevice(int id)
        {
            if (!File.Exists(DbFile))
            {
                return(null);
            }

            using (var cnn = DataFileConnection())
            {
                cnn.Open();
                ACTOSADevice result = cnn.Query <ACTOSADevice>(
                    @"select * from ACTOSADevice where id = @id", new { id }).FirstOrDefault();
                return(result);
            }
        }
示例#2
0
 public void SaveACTOSADevice(ACTOSADevice tosa)
 {
     throw new NotImplementedException();
 }