public void Insert(SubFingerprint subFingerprint)
 {
     subFingerprint.Id = PrepareStoredProcedure(SpInsertSubFingerprint)
                         .WithParametersFromModel(subFingerprint)
                         .Execute()
                         .AsScalar<long>();
 }
 public void InsertSubFingerprint(SubFingerprint subFingerprint)
 {
     subFingerprintDao.Insert(subFingerprint);
 }
 private void AssertSubFingerprintsAreEqual(SubFingerprint subFingerprint, SubFingerprint actualSufingerprint)
 {
     Assert.AreEqual(subFingerprint.Id, actualSufingerprint.Id);
     Assert.AreEqual(subFingerprint.TrackId, actualSufingerprint.TrackId);
     for (var i = 0; i < subFingerprint.Signature.Length; i++)
     {
         Assert.AreEqual(subFingerprint.Signature[i], actualSufingerprint.Signature[i]);
     }
 }