public static void DeleteAll <TIndexCreator>(this IDocumentSession session, string query = null) where TIndexCreator : AbstractIndexCreationTask, new() { session.DocumentStore().DeleteAll <TIndexCreator>(query); }
public static string Id <T>(this IDocumentSession session, string id) { return(session.DocumentStore().Id <T>(id)); }