returns the Id value from your Entity that was previously defined using name Id in your Entity.


your code:

YourEntity entity = new YourEntity();
entity.Id = 5;

this is many used for get id value in generic class
int MyIdValue= entity.GetIdFromEntity();

your Entity class
public class YourEntity : IEntitySharepointMapper
public int Id { get; set; }

Last edited May 4, 2014 at 3:37 AM by Sennit, version 2