Created
March 21, 2012 21:31
-
-
Save alonsorobles/2153059 to your computer and use it in GitHub Desktop.
IDocumentSession from RavenDB v1.0.701
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace Raven.Client | |
| { | |
| public interface IDocumentSession : IDisposable | |
| { | |
| ISyncAdvancedSessionOperation Advanced { get; } | |
| void Delete<T>(T entity); | |
| T Load<T>(string id); | |
| T[] Load<T>(params string[] ids); | |
| T[] Load<T>(IEnumerable<string> ids); | |
| T Load<T>(ValueType id); | |
| IRavenQueryable<T> Query<T>(string indexName); | |
| IRavenQueryable<T> Query<T>(); | |
| IRavenQueryable<T> Query<T, TIndexCreator>() where TIndexCreator : AbstractIndexCreationTask, new(); | |
| ILoaderWithInclude<object> Include(string path); | |
| ILoaderWithInclude<T> Include<T>(Expression<Func<T, object>> path); | |
| void SaveChanges(); | |
| void Store(object entity, Guid etag); | |
| void Store(object entity, Guid etag, string id); | |
| void Store(object entity); | |
| void Store(object entity, string id); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment