10.07.2015 Views

pdf - 395 K - Ecole des mines de Nantes

pdf - 395 K - Ecole des mines de Nantes

pdf - 395 K - Ecole des mines de Nantes

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

}DataRow[] rows = Row.GetChildRows(ToSUPs);ArrayList list = new ArrayList(rows.Length);foreach (DataRow row in rows){string supName = (string)row[SUP_COL];list.Add(SUP.GetSUP(supName));}return (SUP[]) list.ToArray(typeof (SUP));/// /// See IProfile./// public bool HasLinkBetween(ResourceId origin, ResourceId<strong><strong>de</strong>s</strong>tination){return GetLinkBetween(origin, <strong><strong>de</strong>s</strong>tination) != null;}/// /// See IProfile./// public bool HasNo<strong>de</strong>On(ResourceId resource){return GetNo<strong>de</strong>On(resource) != null;}}}public DateTime LastTimestamp{get{return (DateTime) Row[LAST_USE];}set{lock (Row){Row[LAST_USE] = value;}}}25. Class Architecture.Profiles.UPNo<strong>de</strong>using System;using System.Data;using System.Data.SqlClient;using System.Diagnostics;using System.Collections;namespace Architecture.Profiles{/// /// Defines a No<strong>de</strong> on a given resource in a User Profile./// [Serializable]public class UPNo<strong>de</strong> : INo<strong>de</strong>{// Data tableMSc EMOOSE Thesis – http://www.emn.fr/EMOOSE 117

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!