Adding additional field on Post class and Post table

Topics: ASP.NET 2.0, Business Logic Layer, Controls
Apr 8, 2013 at 9:43 AM
Edited Apr 8, 2013 at 9:50 AM
Hi everyone, I am seeking for you kind assistance on this problem. Below are the details.

I downloaded the source code on this "BlogEngine.NET 2.7 (source)" . I'm trying to add an additional field/Property on the Post class and Post table. I was able to add the property on the Post Class and also added a field in Post table on the database. I compiled the source and change the "BlogEngine.Core.dll" reference on my "BlogEngine.NET 2.7 (web)". On the admin/Posts/Add_entry.aspx, I also added a single textbox. In order to post the value on the textbox that currently added, I also changed/added a parameter on

    public static JsonResponse SavePost(string id,
        string content,
        string title,
        string desc,
        string slug,
        string tags,
        string author,
        bool isPublished,
        bool hasCommentsEnabled,
        string cats,
        string date,
        string time,
        string addedField)
After that I also set the value on the following
            post.addedField= addedField;               
            post.Author = author;
            post.Title = title;
            post.Content = content;
            post.Description = desc;
            ....... etc..
The problem is, when I tried to add Posts and save, added field has no value/null on the Post table on my database. I also check if the posted value is not empty. Im wondering if i am missing something? Is there any configuration that I need to changed? Please help..

By the way I am currently using MS SQL as my database server.

I'm hoping someone expert could help me solve my problem.

Thank you so much and more powers!
Apr 8, 2013 at 11:43 AM
Edited Apr 8, 2013 at 11:44 AM
I'm just excited.. :) , I forgot to update my Providers.. I solved my problem. I'm so happy now...