Archivable entity

Entities marked with Archivable attribute automatically implements the IArchivable interface.

For example the ArchivableEntity class defined below

    [Archivable]
    public class ArchivableEntity
    {
        public int Id { get; set; }
        public float Value { get; set; }
    }

will end up having this structure after compilation :

ArchivableEntityReflector.png

Note that the Archivable repository is a convenient way to query Archivable entities.

Last edited Nov 22, 2011 at 5:13 PM by Fab_Michellonet, version 9

Comments

No comments yet.