GestUAB.PopulateDatabaseExtensions.PopulateRenunciation C# (CSharp) Method

PopulateRenunciation() public static method

public static PopulateRenunciation ( this ds ) : void
ds this
return void
        public static void PopulateRenunciation(this IDocumentStore ds)
        {
            ds.DatabaseCommands.PutIndex("RenunciationById", new IndexDefinitionBuilder<Renunciation>
            {
                Map = renunciations => from renunciation in renunciations
                                       select new { renunciation.Id },
                Indexes =
                    {
                        { x => x.Id, FieldIndexing.Analyzed}
                    }
            });
        }