public Repository(Abstract data) { // root = new RepoFolder(""); MetaData = data; Name = data.DatasetTitle; Summary = data.Summary; Authors = data.Authors; Url = data.Url; ID = ObjectId.GenerateNewId().ToString(); data.DatasetId = ID; data.UpdateInDb(); }
public Repository(string name = "None") { //ID = GenerateUniqueID() ; MetaData = new Abstract("DEFAULT NAME", "no url", true, true, "NO SUMMARY FOUND"); //root = new RepoFolder(""); }