• Login

Snippets

30

DotNetNuke.Common.Utilities.CBO.FillObject(System.Data.IDataReader, System.Type) is obsolete: Obsolete in DotNetNuke 7.3.  Replaced by FillObject<T>

public FlexMLS_FavoritesInfo GetFlexMLS_Favorites(int moduleId, int itemId)

{
  //  return (FlexMLS_FavoritesInfo)CBO.FillObject(DataProvider.Instance().GetFlexMLS_Favorites(moduleId, itemId), typeof(FlexMLS_FavoritesInfo));
 return CBO.FillObject<FlexMLS_FavoritesInfo>(DataProvider.Instance().GetFlexMLS_Favorites(moduleId, itemId));
}

 

// return (FlexMLS_FavoritesInfo)CBO.FillObject(DataProvider.Instance().GetFlexMLS_Favorites(moduleId, itemId), typeof(FlexMLS_FavoritesInfo)); return CBO.FillObject(DataProvider.Instance().GetFlexMLS_Favorites(moduleId, itemId));

Post Rating

Comments

There are currently no comments, be the first to post one!

Post Comment

Name (required)

Email (required)

Website