client/src/Iri.Modernisation.Data/Models/PolemicElement.cs
changeset 38 bd33267300aa
parent 36 b6df6fce6e5d
child 43 7fa99f1c36a4
--- a/client/src/Iri.Modernisation.Data/Models/PolemicElement.cs	Wed Jan 27 10:55:59 2010 +0100
+++ b/client/src/Iri.Modernisation.Data/Models/PolemicElement.cs	Thu Feb 04 16:38:04 2010 +0100
@@ -51,6 +51,7 @@
         /// </summary>
         protected PolemicElement()
         {
+            Id = System.Guid.NewGuid().ToString();
             Tags = new List<String>();
         }
 
@@ -60,6 +61,7 @@
         /// <param name="Vc">VideoChapter auquel l'annotation est ratachée</param>
         public PolemicElement(VideoChapter Vc):base()
         {
+            Id = System.Guid.NewGuid().ToString();
             Chapter = Vc;
             Tags = new List<string>();
         }