-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Michael edited this page Aug 13, 2017
·
7 revisions
Run Migration app to create your .cs files. see more here: https://github.com/SharePointPro/SpproEntity/wiki/SpproFrameWork-Migrate
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 are where all the action happens. Read more about them here: https://github.com/SharePointPro/SpproEntity/wiki/Repositories