Beispiel #1
0
 public void WriteEntitiesUsingScopeIdentity <T>(IEnumerable <T> entities) where T : IDbEntity, new()
 {
     m_Accessor.WriteEntities(m_Connection, m_Transaction, entities,
                              (c, i, e) => m_Scripter.ScriptInsertWithScopeIdentity <T>(c, e, i, true)
                              , null
                              , null
                              , null
                              , true
                              );
 }
Beispiel #2
0
 public void WriteEntitiesUsingScopeIdentity <T>(IEnumerable <T> entities)
     where T : IDbEntity, new()
 {
     WriteEntities(null, null, entities,
                   (c, i, e) => m_Scripter.ScriptInsertWithScopeIdentity <T>(c, e, i, true)
                   , null
                   , null
                   , null
                   , true
                   );
 }