Using both Enterprise library and Entity framework as DAL for same application

We have been using EF for large amount of data  retrieval in our current application. We faced performance related issues with using EF with large data retrieval and manipulation.
We need to extend the same project with some additional functionality similar to what currently exists in the application and uses EF.
For the new functionality, we do not want to use EF and want to use enterprise library for Data access.
My question is if we use both entity framework for parts of the application data access mechanism and enterprise library for other parts of application data access, are there any known issues?
if there are any best practices to be followed please share .

We have been using EF for large dataset retrieval in our current application. We faced performance related issues with using EF for large data set's  .
Dataset? What are you talking about?  If you are using the salad bowl, the dataset with datatables, then here is the reason not to use them.
http://lauteikkehn.blogspot.com/2012/03/datatable-vs-list.html
My question is if we use both entity framework for parts of the application data access mechanism and enterprise library for other parts of application data access, are there any known issues?
What is Entlib going to buy you in performance? It's going to buy you nothing. You'll be better of going to the EF backdoor, use SQL command objects, inline T-SQL, sprocs, datareder and using custom objects or objects off of the virtual model returning a
single object or objects in a collction., if you are concerned about performance.
http://blogs.msdn.com/b/alexj/archive/2009/11/07/tip-41-how-to-execute-t-sql-directly-against-the-database.aspx
You'll probably be better of going to Entity SQL, using a datareader, collection and using custom objects or objects off of the model, if you are concerned about query performance.
https://msdn.microsoft.com/en-us/library/vstudio/bb738684(v=vs.100).aspx
https://msdn.microsoft.com/en-us/library/vstudio/bb387145(v=vs.100).aspx
https://msdn.microsoft.com/en-us/library/vstudio/bb399560(v=vs.100).aspx
My question is if we use both entity framework for parts of the application data access mechanism and enterprise library for other parts of application data access,
are there any known issues?
 A nightmare, no consistency and complete Helter Skelter is what I see. Been there and seen it in action with different technologies doing the same thing in a solution.

Similar Messages

  • Is it possible to use both an ILB and an ELB (listening on the same port) in the same Azure cloud service?

    I'm building a test Lync deployment on Azure; yes, I know this is not supported, hence "test".
    Lync Front-End servers expose two set of web services, one for internal users and one for external ones; they listen on different ports (443 and 4443) on the same servers; when external services are published, you need a reverse proxy or a port forwarding
    in order to map port 443 of a public IP address to port 4443 of the Front-End server(s). When you have multiple Front-End servers in a pool, you also need to load-balance them.
    So, a typical Lync deployment looks like this:
           Internal users
                     |
                   443
                      |
              Internal LB
            192.168.0.20
            443         443
              |               |
       Lync FE 1     Lync FE 2
    192.168.0.21 192.168.0.22
              |               |
          4443        4443
              External LB
           Public IP Address
                     |
                  443
                     |
           External Users
    This should be easily replicated in Azure, as it supports both external load balancing and internal load balancing. They are even supported together in the same cloud service, so this configuration should be easy. However, it looks like "should"
    is the keyword here.
    After creating the external load balanced endpoint (which listens on external port 443 and forwards to port 4443 on the servers), I'm trying to create an internal load balancer and add internal endpoints to is; however, while the ILB can be created successfully,
    adding an internal endpoint listening on port 443 and forwarding to port 443 on the servers fails miserably, with an error stating that port 443 is already in use by another endpoint:
    Update-AzureVM : BadRequest : Port 443 is already in use by one of the endpoints in this deployment. Ensure that the port numbers are unique across endpoints within a deployment.
    For reference, my commands are:
    Add-AzureInternalLoadBalancer -InternalLoadBalancerName "LyncILB" -ServiceName "LyncFrontEnd" -SubnetName "LabSubnet" -StaticVNetIPAddress 192.168.0.20
    (This completes successfully)
    Get-AzureVM LYNCFE1 | Add-AzureEndpoint -Name "Https-Int" -Protocol "tcp" -LocalPort 443 -PublicPort 443 -LBSetName "HttpsIntLB" -DefaultProbe -InternalLoadBalancerName "LyncILB"
    (This fails)
    The existing external endpoint is configured as such:
    Get-AzureVM LYNCFE1 | get-azureendpoint
    LBSetName : HttpsExtLB
    LocalPort : 4443
    Name : HTTPS-Ext
    Port : 443
    Protocol : tcp
    Vip :
    ProbePath :
    ProbePort : 4443
    ProbeProtocol : tcp
    ProbeIntervalInSeconds : 15
    ProbeTimeoutInSeconds : 31
    EnableDirectServerReturn : False
    Acl : {}
    InternalLoadBalancerName :
    IdleTimeoutInMinutes :
    LoadBalancerDistribution :
    The error doesn't even make a lot of sense; the external load balancer listens on a public IP address, while the internal load balancer listens on a private IP address in the internal network; there
    shouldn't be any conflict here... however it looks like there is one instead.
    Why doesn't this work? Am I doing something wrong, or is Azure networking just being silly as usual again?

    Hello Massimo Pascucci,
    The issue that you are facing when creating an endpoint with internal loadbalancer is the limitation of not allowing same ports to be listening under a single cloud service. This reason for this is that there is a limitation of only one private IP (Also
    known as the Internal load balanced IP) per cloud service.
    There is also a limitation on the Internal load balancer more than one port to be published per load balancer:
    You can leave your feedback by following the link below:
    https://social.msdn.microsoft.com/Forums/en-US/1805c5a0-3906-4cd6-8561-9802d77e0ae5/is-it-possible-to-use-both-an-ilb-and-an-elb-listening-on-the-same-port-in-the-same-azure-cloud?forum=WAVirtualMachinesVirtualNetwork
    Refer to this article for more information on Internal load balancer:
    http://azure.microsoft.com/blog/2014/05/20/internal-load-balancing/
    Thanks,
    Syed Irfan Hussain

  • Possible to use both optical out AND regular line out at the same time?

    I currently have my computer speakers (logitech z560) hooked up to the mac pro via regular stereo jack in the back. I have an extra receiver that I would love to hook in to supply me with some needed sound for movie watching and what-not.. Is there a way to enable both line out - digital and line out at the same time?

    You can set DVD Player's "Audio output" to "Digital Out" in its "Disc Setup" preference, while other applications use Line Out.
    You could use a splitter on Line Out to feed your current speakers, and analog Line In on your receiver. When you want sound to both systems, set the receiver to Line In. When you want to watch DVDs, set it to Digital In. This will give you surround sound if the DVD has multichannel sound, and the receiver supports more than two channels.
    If you really want the same output on the Mac Pro Line Out, and Digital Out, you can use the "Auxiliary Device Output" effect in Audio Hijack Pro
    <http://www.rogueamoeba.com/audiohijackpro/>
    It will not support more than two-channel audio.

  • Can i use both the ibook and kindle ebook apps on the same ipod?

    I have the ibook ebook app on my ipod touch at the moment which i love and use a lot but one of my favourite authors has started releasing her ebooks only for kindle devices. Can i install the kindle ebook app on my ipod as well as the ibook app without the two interfering with each other?

    as well as Barnes & Noble's Nook app, Sony's ereader, Kobo, and a dozen or more additional ereaders.
    If reading PDFs, I like "GoodReader" as it has the ability to re-render the text to a larger font size that is earier to read on an iPod Touch.

  • I used to manage 3 websites using both my imac and macbook, using dropbox, however I can no longer access them from my mac book.

    I have been managing 3 websites using iWeb for the last several years, using both my iMac and Macbook.  However for the last two weeks, I can no longer access these sites from my macbook.  It appears "empty".  When I first started seeing this, I took it to the Genius Bar in another city and he moved some library contents to my desktop - still didin't help.
    I know iWeb is a thing of the past, but I can't stop right now and learn something new for about the next 4 weeks (in a sports team in the middle of a season)
    .  After that, I will have time to learn a new product.
    Also, what is a suggestion for replacing iWeb?  Sandvox? Rapid Weaver?
    Thanks!

    What do you mean when you say you "can no longer access these sites?" Does that mean you can't connect to those sites in your web browser, or that they aren't showing up in iWeb?
    If the latter, note that your iWeb data is all entirely stored in a hidden file. In the Finder, choose Go -> Go To Folder and paste the following path into the window that opens:
    ~/Library/Application Support/iWeb
    In that folder, you will find a single file, called Domain. That's got all the data for all your iWeb sites. If that file is missing, or if it has become corrupt, you will need to restore it from an earlier backup.
    As for replacing iWeb, either Sandvox or RapidWeaver should work. Which works best will depend on your own tastes. Note that neither is capable of fully importing iWeb sites, as those sites will have a lot of content that is copyrighted by Apple. For more information about transitioning to one of these products, see:
    http://rapidweaverfaq.org/site/migrating_from_iWeb.html
    http://www.karelia.com/sandvox/help/z/Transitioning_from_iWeb.html

  • I attempted to download a song. It originally did not download correctly. I refreshed the download and it supposedly completed. Upon playing the song in both my library and on the Itunes store it will not play past the first 5 seconds. How can I fix this?

    It originally did not download correctly. I refreshed the download and it supposedly completed. Upon playing the song in both my library and on the Itunes store it will not play past the first 5 seconds. How can I fix this?

    Hello Whitney262,
    Thanks for using Apple Support Communities.
    I would go ahead and make sure you can first download the content, then remove the song from your iTunes Library, and download again from your iTunes past purchases.  The article below will walk you through the entire process:
    Download past purchases
    http://support.apple.com/kb/ht2519
    Take care,
    Alex H.

  • Can I use both iPhoto 6 and 5 on the same Mac?

    I gave up on iPhoto 6 when it comes to publishing web galleries (see my posts at http://discussions.apple.com/thread.jspa?threadID=456532&tstart=0 )
    Can I use both iPhoto 6 and 5 on the same Mac?
    Thanks!

    Lior:
    Welcome to the Apple Discussions. Yes you can but it takes a lot of caution! You can have both application running their own library. But the problem comes in when you launch V5 into the last used library, a V6 library, and it can corrupt that library so it won't open in V6 again. Conversely, if you open V6 and the V5 library was the last to be opened and you don't pay attention, you'll convert it to a V6 and lose the V5 access.
    So you have to make sure you ALWAYS launch iPhoto with the Option key depressed and manually select the library to use each time. Also Name each library differently. I use V6 LIbrary and V5 Library. You can rename your current one and then launch iPhoto with the Option key depressed and navigate to it to open it.

  • I am using both PSE 13 and Lightroom 5.  When I use Lightroom as an external editor and save the photo, it shows up in PSE13 as an edited file but does not look any different.  Why doesn't it appear edited?

    I am using both PSE 13 and Lightroom 5.  When I use Lightroom as an external editor and save the photo, it shows up in PSE13 as an edited file but does not look any different.  Why doesn't it appear edited?

    People who have Photoshop, but don't have Lightroom, need ACR so that they can use Raw files. Without ACR they could do nothing with those (they may also like having ACR so that they can work on other kinds of image using the same kinds of adjustments and techniques, as are used with Raw files).
    People who have Lightroom, can get access to Raw files regardless whether ACR is present or not. They can use Lightroom on other kinds of image also, using the same methods. LR can pass images directly into Photoshop without passing via ACR (or else does so transparently, which amounts to substantially the same thing).
    ACR does not, strictly speaking, even need to be installed for this external editing to happen. In fact, not even PS needs to be - since a different image editor can be used instead, while still retaining the Adobe Raw conversion etc.
    Lightroom "subcontracts out" specialised external tasks, in this workflow, but is still your "main contractor": the image is otherwise located, viewed, managed, adjusted/presented and output entirely using LR.
    So IMO we can divide image processing into:
    operations that involve pixels and layers and layer masks and adjustment layers etc (of the kind done inside Photoshop)
    operations that involve parametric edits (of the kind done in ACR where you are not using a Lightroom based workflow; otherwise, done inside Lightroom)
    When PS is called in, that's because those tasks are impossible or unsuitable to do in Lightroom. But those tasks can't be done in ACR either - by definition, since LR and ACR have exactly the same image processing "feature set".
    Lightroom is irrelevant to the Bridge + ACR + PS workflow. This workflow requires both your PS and your ACR to be current enough, to support your Raw format etc.
    ACR and Bridge are irrelevant to the LR + (image editor) workflow. It is in this case, only LR which needs to be current enough to support your Raw format etc.
    RP

  • TS1424 everytime i try to download an app from itunes, or to 'view all' the apps listed, the error says; 'We could not complete your iTunes Store reuest. The network connection was reset' I used both my desktop and laptop both on Windows 7 Pro, & net is f

    everytime i try to download an app from itunes, or to 'view all' the apps listed, the error says; 'We could not complete your iTunes Store reuest. The network connection was reset' I used both my desktop and laptop both on Windows 7 Pro, & net is fine. please help. is there soemthing wrong with apple store temporarily?

    The latest message is: 'We could not complete your iTunes Store request. The network connection was reset.'
    In between, I got a messge about verifying my payment method. When I tried to submit the details, I kept getting a mmessage stating that my payment method was declined (my card is not near it's expiration date, and works fine).
    Argh!

  • I use both iTunes Match and I backup my phone through iCloud. How do I get non-iTunes Match music on my phone?

    So I have a lot of spoken-word MP3 files on my MacBook that are both too large and too low a bitrate for iTunes Match. Since I use iCloud to backup my phone, I don't manually sync my phone with my MacBook anymore.
    How do I get these MP3s onto my iPhone's iPod app without deleting everything on the phone and manually syncing/backing up to my MacBook?

    You would have to turnoff match to manually sync those files to your phone, the. Turn match back on so you can use it like you normally would for all your match able music. iTunes works the same way now with match and your music like it does for iCloud and your contacts and calendars. In order to prevent duplication, you can't sync with a cloud service and manually on a computer the same information, unless you temporarily disable the cloud-type service - in your case iTunes match

  • If you are traveling in Europe, do you need both an adapter AND a voltage regulator to charge the IPad2 and the iphone? Or, the reverse, will it hurt either if I use both the adapter AND the voltage convertor?

    If you are traveling in Europe, do you need both an adapter AND a voltage convertoro charge the IPad2 and the iphone? Or, the reverse, will it hurt either if I use both the adapter AND the voltage convertor?

    You may only need adapters for the different kind of sockets, depending of the country you want to travel. A voltage converter is not needed.
    The Apple power units are multi voltage devices, supporting a range from 110 V to 240 V. as you can see on the labels. O.K. for most of the labels you need a magnifier, but its on them.
    Have a pleasnt journey
    Lupunus

  • Can I use BOTH IE & FF and retain the shortcuts to both to use at will?

    Can I use BOTH IE & FF and retain the shortcuts to both to use at will? I can download FF ok and use for a day or so along with IE, but after that I start to get messages from Windows saying IE is not my default browser and do I want to make it the default. If I answer no, many links in my windows mail and other links in the windows system don't work...I get a message that the file can't be found . If I answer yes, the FF shortcuts disappear and can't bring up the FF from the FF folder, I get a msg that the FF folder is corrupt!

    Hi, aparently we're a problem while you installed firefox. try to uninstall and reinstall firefox again,
    after you do that, open firefox and go to Tools>options>Advanced>General, and see that it have to be an option at last that sez "always check to see if firefox is the default browser on startup" uncheck that option.,
    Then go to IE, go to tools>internet options>programs>and clic on "Make Default".
    With this you make that IE the default browser.
    Bye

  • Fetching the sales order data using both system status and user status

    Hi,
    Could any one tell me how to fetch sales orders using both system status and user status.
    My requirement is to fetch sales order data in a report where the user enters the system status and user status in the selection screen fields.
    For example i need sales orders where the system status is I1002 i.e. OPEN and user status is E0002 (status profile CMSCON0) that is In Process
    Early replies are appreciated.
    Thanks
    Tanveer

    Hi,
    The system status and user status are stored in CRM_JCDS & CRM_JEST tables you can get the all the order GUID on particular status further pass the order GUID in table CRMD_ORDERADM_H to get transaction ID.
    Regards,
    Dipesh.

  • Use both laf project and Jcalendar?

    Hi,
    I have a problem when using some java beans in Forms 10gR2 with JRE 1.4.x.
    I can't seem to make both the LaF AND the JCalendar work on the same form. I can use them separately and it all works fine, but when they're on the same Form, there's only one of them working.
    And it all seems to be related to the position in the object tree of Forms. Whichever bean comes first (the higher one in the tree) gets activated and the other doesn't.
    Did anyone manage to make them both work in the same form?

    Yes there is, sorry I forgot to look at the console since I've been using JRE...
    And it made me notice I made I mistake when saying I was using JRE 1.4.x also.
    Java Plug-in 1.6.0_07
    Utilisation de la version JRE 1.6.0_07 Java HotSpot(TM) Client VM
    Répertoire d'accueil de l'utilisateur = C:\Documents and Settings\VincentS
    RegisterWebUtil - Loading WebUtil Version 10.1.2.0
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    La version Forms Applet est : 10.1.2.0
    java.lang.SecurityException: class "oracle.forms.fd.JCalendar"'s signer information does not match signer information of other classes in the same package
         at java.lang.ClassLoader.checkCerts(Unknown Source)
         at java.lang.ClassLoader.preDefineClass(Unknown Source)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
    etc etc.
    If I put the calendar bean first in the object tree, then it's the laf classes signer information that are not recognized. Having seen this, I just signed my 3 .jar files once again with the same certificate and I still get this message.... The .jar files are
    FJCalendar.jar
    jcalendar-1.3.2.jar
    laf_1012.jar
    (I didn't resign looks-2.0.1.jar because it wasn't mentionned in the console)
    Any ideas?

  • I just downloaded Google Chrome and use both Google Chrome and Firefox as my browser. However, whenever I click on an email link, it opens up Chrome and I want it to open Firefox. How do I fix this?

    I just downloaded Google Chrome and use both Google Chrome and Firefox as my browsers. However, whenever I click on an email link, it opens up Chrome and I want it to open Firefox. How do I fix this?

    Go into FF Preferences & set it to be your default browser.  This way when you click on an email link in Chrome, FF will open.

Maybe you are looking for

  • Tables for Purchase contract Tax pricing

    Hi ,      I want to display purchase contract detail in the standard layout. For Displaying pricing we need the Document condition number of the contract. Normally in Purchase order pricing document number is in EKKO table and field name is KNUMV. In

  • Problem with Point-Array

    I made the following method: Point[] makeLine (int length)           Point[] newLine = new Point[length];           for (int i = 0; i < newLine.length; i++)                newLine.x = i;                newLine[i].y = (int)Math.round(Math.random()*5+1

  • Mobile Broadband: Verizon, Sprint, Type II PC Slot

    As of today, 9/13/2006, neither Verizon nor Sprint offer a USB based solution for Mobile Broadband. Does anyone know of a company that does? Also, what are the options for people that want Mobile Broadband, but don't have a Type II PC Slot? Thanks! i

  • How to add own CustomXPathFunctions to the JDev XPath builder

    Hello, I'd be interested to know, if it is possible to add my own CustomXPathFunctions to the JDeveloper BPEL designer so that the XPath builder would recognize them and provide the helps in building the expression. Now, all my own functions are not

  • OWB 904:  DBLINK user does not have tables in its schema ?

    For an external Oracle source module, there is a dblink that has been defined. But the user that has been used for this dblink does not have any tables/views in its schema. The tables are in a different schema. How do I get acces to those tables thro