28 lines
597 B
C#
28 lines
597 B
C#
|
// /**
|
|||
|
// * File: Persistent.cs
|
|||
|
// * Author: haraldwolff
|
|||
|
// *
|
|||
|
// * This file and it's content is copyrighted by the Author and / or copyright holder.
|
|||
|
// * Any use wihtout proper permission is illegal and may lead to legal actions.
|
|||
|
// *
|
|||
|
// *
|
|||
|
// **/
|
|||
|
using System;
|
|||
|
namespace ln.types.odb
|
|||
|
{
|
|||
|
public class Persistent : IPersistent
|
|||
|
{
|
|||
|
public Guid PersistenceID { get; private set; }
|
|||
|
|
|||
|
public Persistent()
|
|||
|
{
|
|||
|
PersistenceID = Guid.NewGuid();
|
|||
|
}
|
|||
|
|
|||
|
public Guid GetPersistenceID()
|
|||
|
{
|
|||
|
return PersistenceID;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|