I'd use assigned id and instead of a repository I'd use something like this:
interface IConfigurationProvider
{
void Load();
void Save();
ConfigurationEntity YourConfiguration { get; }
}
On Sat, Apr 11, 2009 at 11:25 AM, DK-Warder <[email protected]> wrote:
>
> I want to store only one instance of class. What best practicies? What
> i should do with Id, with Repositories?
>
> Thanks
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---