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); } }
public void SaveACTOSADevice(ACTOSADevice tosa) { throw new NotImplementedException(); }