public EntityForm GetPrimaryFieldValue(string logicalName, string Id) { var service = new XrmServiceContext(_conn); Guid id = Guid.Empty; if (Id != "null") { id = new Guid(Id); } return(service.GetEntityPrimaryFieldValue(logicalName, id)); }
public EntityForm GetPrimaryFieldValue(string logicalName, string Id) { var service = new XrmServiceContext(_conn); Guid id = Guid.Empty; if (Id != "null") { id = new Guid(Id); } return(service.GetEntityPrimaryFieldValue(logicalName, id)); }