Home - SharePointPro/SpproEntity GitHub Wiki

Setup

Run Migration app to create your .cs files. see more here: https://github.com/SharePointPro/SpproEntity/wiki/SpproFrameWork-Migrate

Context

The migration will create a SpBaseContext class with a repository for each list. EG:

public class SpContext : SpproBaseContext 
{

public SpContext(ClientContext clientContext) : base(clientContext)
{
}
public virtual SpproDocLibraryRepository<MyDocLibrary> MyDocLibrary{ get; set; } //Current version of migration will not automatically set Repository to SpproDocLibrary, this will need to be edited manually
public virtual SpproRepository<MyList> MyList { get; set; }
}

More here: https://github.com/SharePointPro/SpproEntity/wiki/SpContext

Repositories

Repositories are where all the action happens. Read more about them here: https://github.com/SharePointPro/SpproEntity/wiki/Repositories

⚠️ **GitHub.com Fallback** ⚠️