/// <summary> /// Sets up the property /// </summary> /// <param name="MappingProvider">Mapping provider</param> /// <param name="QueryProvider">Query provider</param> /// <param name="Source">Source info</param> public override void Setup(ISourceInfo Source, Mapper.Manager MappingProvider, QueryProvider.Manager QueryProvider) { ForeignMapping = MappingProvider[Type, Source]; Structure = MappingProvider.GetStructure(Mapping.DatabaseConfigType); QueryProvider.Generate <ClassType>(Source, Mapping, Structure).SetupLoadCommands(this); }
/// <summary> /// Sets up the property /// </summary> /// <param name="MappingProvider">Mapping provider</param> /// <param name="QueryProvider">Query provider</param> /// <param name="Source">Source info</param> public override void Setup(ISourceInfo Source, Mapper.Manager MappingProvider, QueryProvider.Manager QueryProvider) { Structure = MappingProvider.GetStructure(Mapping.DatabaseConfigType); }