Home Help Center

Can I use <dbenv> IceGrid xml tag as path for my own data?

voronkovvoronkov Member Sergey VoronkovOrganization: AigrindProject: Game
Hi!

I use Ice from c#, hence Freeze is not available.
I decide to keep data in my own format. Can I use <dbenv> xml tag to specify path for my files? Can this practice lead to some internal Ice confilicts?

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi,

    Doing this wouldn't cause any internal Ice conflicts. However, this means your C# server would need to retrieve the value of a Freeze configuration property (such as Freeze.DbEnv.MyEnv.DbHome) in order to determine the database directory. I think setting your own configuration property would be a cleaner solution.

    Regards,
    Mark
Sign In or Register to comment.