<commit_before>﻿using System.Reflection;
using Abp.Modules;
using Abp.WebApi.OData;
using Abp.WebApi.OData.Configuration;
using AbpODataDemo.People;

namespace AbpODataDemo
{
    [DependsOn(typeof(AbpWebApiODataModule))]
    public class AbpODataDemoWebApiModule : AbpModule
    {
        public override void PreInitialize()
        {
            Configuration.Modules.AbpWebApiOData().ODataModelBuilder.EntitySet<Person>("Persons");
        }

        public override void Initialize()
        {
            IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
        }
    }
}<commit_msg>Minor refactoring.<commit_after>﻿using System.Reflection;
using Abp.Modules;
using Abp.WebApi.OData;
using Abp.WebApi.OData.Configuration;
using AbpODataDemo.People;

namespace AbpODataDemo
{
    [DependsOn(typeof(AbpWebApiODataModule))]
    public class AbpODataDemoWebApiModule : AbpModule
    {
        public override void PreInitialize()
        {
            var builder = Configuration.Modules.AbpWebApiOData().ODataModelBuilder;

            //Configure your entities here...
            builder.EntitySet<Person>("Persons");
        }

        public override void Initialize()
        {
            IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
        }
    }
}
{'fraction_non_alphanumeric': 0.0913937547600914, 'fraction_numerical': 0.0, 'mean_word_length': 3.1191222570532915, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7767', 'n_tokens_mistral': 388, 'n_tokens_neox': 385, 'n_words': 62}