kreta/Tools/CodeGeneration/Templates/Server/DataAccess/Entity/EntityCollection.tdl
2024-03-13 00:33:46 +01:00

19 lines
712 B
Text

//***************************************************************************//
// A megadott entitáshoz tipizált listát generál //
//***************************************************************************//
template GenerateEntityCollection()
[BOM]using System;
using Kreta.Framework;
using Kreta.Framework.Entities;
using Kreta.Framework.Entities.Generic;
using Kreta.Framework.Collections;
using Kreta.Framework.Collections.Generic;
namespace SDA.[ProjectName].Entities
{
//kompatibilitás miatt
[loop (Instances -> MClass WHERE GetStereoType([MClass]) == "Entity")]
public class [MClass.name]Collection = EntityCollection<[MClass.name]> { }
[end loop]
}
end template