EmailAddress CreateEmailAddress(IModel m, string emailAddress) { Uri contactUri = new Uri("semio:" + Guid.NewGuid().ToString()); EmailAddress c = m.CreateResource <EmailAddress>(contactUri); c.Address = emailAddress; c.Commit(); return(c); }