public static AlertEntity CreateAlert(Entity entity)
        {
            if(entity.IsNew)
                return null;

            return new AlertEntity { Target = entity.ToLite() };
        }
        public static AlertEntity CreateAlert(Entity entity)
        {
            if(entity.IsNew)
                return null;

            return new AlertEntity
            {
                Target = entity.ToLite(),
                CreatedBy = UserHolder.Current?.ToLite()
            };
        }
        public static NoteEntity CreateNote(Entity entity)
        {
            if (entity.IsNew)
                return null;

            return new NoteEntity
            {
                Target = entity.ToLite(),
                CreationDate = Server.Return((IBaseServer s) => s.ServerNow()),
                CreatedBy = UserHolder.Current.ToLite(),
            };
        }
 private static FindOptions GetFindOptions(Entity ident, string property)
 {
     return new FindOptions
     {
         QueryName = typeof(AlertEntity),
         Create = false,
         SearchOnLoad = true,
         ShowFilters = false,
         FilterOptions = 
         { 
             new FilterOption("Target", ident.ToLite()),
             new FilterOption("Entity." + property, true),
         },
         ColumnOptions = { new ColumnOption("Target") },
         ColumnOptionsMode = ColumnOptionsMode.Remove,
     };
 }