Beispiel #1
0
        internal bool HasSpecificFinder(BdcEntity ent)
        {
#if SP12
            return(ent.HasSpecificFinder());
#else
            try {
                Microsoft.SharePoint.BusinessData.Administration.Entity entity = ((object)ent) as Microsoft.SharePoint.BusinessData.Administration.Entity;
                if (entity == null)
                {
                    entity = Microsoft.SharePoint.BusinessData.Administration.Entity.GetById((uint)ent.Id, bdcService.GetAdministrationMetadataCatalog(SPServiceContext.Current));
                }
                return(entity.HasSpecificFinder());
            } catch {
                return(true);
            }
#endif
        }
 internal bool HasSpecificFinder(Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity ent)
 {
     return(ent.HasSpecificFinder());
 }