public void UpdateSnippet(Snippet currentSnippet)
 {
     ObjectContext.Snippets.AttachAsModified(currentSnippet, ChangeSet.GetOriginal(currentSnippet));
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Snippets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSnippets(Snippet snippet)
 {
     base.AddObject("Snippets", snippet);
 }