private object BuildReferenceDto(Sysdiagram item) { return new{ StringId = _stringConverter.ToString(item), Description = item.ToString(), }; }
private object BuildFullDto(Sysdiagram item) { return new{ StringId = _stringConverter.ToString(item), item.Name, item.PrincipalId, item.DiagramId, item.Version, // item.Definition, // Skip bacause is binary data }; }
public void Update(Sysdiagram v) { _Northwind.Update(v); }
public void Delete(Sysdiagram v) { _Northwind.Delete(v); }
public void Create(Sysdiagram v) { _Northwind.Save(v); }
public string ToString(Sysdiagram obj) { return obj.DiagramId.ToString(); }