public void IdGeneratorShouldUseQuotedTableName()
		{
			using (ISession s = OpenSession())
			using (ITransaction t = s.BeginTransaction())
			{
				IdOnly obj = new IdOnly();
				s.Save(obj);
				s.Flush();
				s.Delete(obj);
				t.Commit();
			}
		}
Example #2
0
 public async Task IdGeneratorShouldUseQuotedTableNameAsync()
 {
     using (ISession s = OpenSession())
         using (ITransaction t = s.BeginTransaction())
         {
             IdOnly obj = new IdOnly();
             await(s.SaveAsync(obj));
             await(s.FlushAsync());
             await(s.DeleteAsync(obj));
             await(t.CommitAsync());
         }
 }
Example #3
0
 public void IdGeneratorShouldUseQuotedTableName()
 {
     using (ISession s = OpenSession())
         using (ITransaction t = s.BeginTransaction())
         {
             IdOnly obj = new IdOnly();
             s.Save(obj);
             s.Flush();
             s.Delete(obj);
             t.Commit();
         }
 }