Welcome to the Community Exchange

Welcome to the Community Exchange, a place where community members can exchange questions and answers related to DotNetNuke. If you would like more info about the Community Exchange, please visit this page in our Wiki. 

IHydrateable Implementation

I'm having an issue implementing the IHydrateable interface.

When I put the 'using DotNetNuke.Entities.Content' statement in, the reference is not found.

The override of the Fill method is found, but not the base.FillInternal call.

Is FillInternal the wrong call here? Or am I missing something?

public override void Fill(System.Data.IDataReader dr)
{
try
{
base.FillInternal(dr);

 

Any suggestions would be great!

asked 5/29/2012
bgreenwalt10
bgreenwalt

1 Answer

The fillinternal method is a method on BaseEntityInfo so your class must derive from that, or a class that also derives from it - one of these classes is ContentItem which I'm guessing is what you're trying to do, so please ensure your class inherits correctly e.g.

public class MyCustomInfo : ContentItem

{

}

answered 5/29/2012 cathal connolly 1210
cathal connolly

Your Answer

In order to provide an answer to this question, you must Login

I am flagging this question because...




10 inform moderator flags remaining

I am deleting this question because...




I am flagging this answer because...




10 inform moderator flags remaining

Flagging a Post

You have already flagged this post. Clicking "Remove Flag" below will remove your flag, thus reducing the count by one as well.

I am deleting this answer because...




DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.