GetSharepointListName

returns the name of your list in Sharepoint that was previously defined in its body through the attribute * SharepointListName ("listName") * if you do not declare SharepointListName * use * attribute in your body will be returned the name of the Entity.

Example:

your code:

YourEntity entity = new YourEntity();

string MySharepointListName = entity.GetSharepointListName();


your Entity class
[SharepointListName("ListName")] -- if use this return is ListName else return YourEntity
public class YourEntity : IEntitySharepointMapper
{

}

Last edited May 3, 2014 at 10:52 PM by Sennit, version 3