zoukankan      html  css  js  c++  java
  • VS2010安装 EntityFramework

    尝试用VS2010--工具--Library Package Manager--Add Library Package Reference的online搜索 EntityFramework,

    再找到的结果中,点选该Package的Install,

    却提示错误:

    "This package (or one of its dependencies) contains powershell scripts and needs to be installed from the package manager console."

    根据提示改用Package Manager Console来安装,

    打开VS2010--工具--Library Package Manager--Package Manager Console,

    PM > get-package -remote -filter entityframework

    Id                                      Version                                Description                           
    --                                      -------                                -----------                           
    BinbinMemberShipEntityFrameworkCodeF... 1.0.0.0                                membership entityframework codefirst  
    BinbinMemberShipEntityFrameworkCodeF... 1.0.0.1                                2011-08-15:添加类...                     
    Check_My_Box_Packages                   1.1.0.2                                This Package uses MvcScaffolding, E...
    Check_My_Box_Packages                   1.1.0.3                                This Package uses MvcScaffolding, E...
    EFCodeFirst                             1.0                                    Legacy package, Code First is now i...
    EFCodeFirst                             1.1                                    Legacy package, Code First is now i...
    EntityFramework                         4.1.10311.0                            DbContext API and Code First workfl...
    EntityFramework                         4.1.10331.0                            DbContext API and Code First workfl...
    EntityFramework                         4.1.10715.0                            DbContext API and Code First workfl...
    EntityFramework.Extensions              0.0.1                                  A couple useful extensions for crea...
    EntityFramework.Extensions              0.0.2                                  A couple useful extensions for crea...
    EntityFramework.Patterns                0.2                                    Provides different patterns to be u...
    EntityFramework.Patterns                0.5                                   EntityFramework.Patterns provides d...
    EntityFramework.Preview                 4.2.0.0                                Entity Framework 4.2 Beta 1. DbCont...
    EntityFramework.Sample                  4.1                                    This sample blog model demonstrates...
    EntityFramework.SqlMigrations           0.5.10727.0                            Preview of Code First Migrations fo...
    EntityFramework.SqlServerCompact        4.1.8482.1                             Allows SQL Server Compact 4.0 to be...
    EntityFramework.SqlServerCompact        4.1.8482.2                             Allows SQL Server Compact 4.0 to be...
    EntityFrameworkProfiler                 1.0.0.912                              EntityFramework Profiler is a real-...
    FSRepository                            1.0.0.0                                FSRepository provides a quick way o...
    FSRepository                            2.0.0.0                                FSRepository provides a quick way o...
    ImtModelsStarter                        0.5.6                                  .Net models starter project that se...
    ImtModelsStarter                        0.5.7                                  .Net models starter project that se...
    ImtModelsStarter                        0.5.8                                  .Net models starter project that se...
    ImtModelsStarter                        0.5.9                                  .Net models starter project that se...
    NCommon.EntityFramework                 1.2                                    NCommon data adapter for Entity Fra...
    NContext.Persistence.EntityFramework    1.0                                    Entity Framework 4.1 support for NC...
    NContext.Persistence.EntityFramework    1.1                                    Entity Framework 4.1 support for NC...
    netfx-Patterns.DomainContext.EF         1.0.0.0                                Implements the Domain Context patte...
    RIAServices.EntityFramework             4.1.60629.0                            WCF RIA Services EntityFramework 4....
    RIAServices.EntityFramework             4.1.60730.0                            WCF RIA Services Toolkit- WCF RIA S...
    RiaServices.EntityFramework.Scaffolding 0.1                                    Scaffolds a WCF RIA DbDomainService...
    RIAServices.Toolkit.All                 4.1.60730.0                            WCF RIA Services Toolkit - All NuGe...
    RIAServices.Toolkit.All                 4.1.60730.1                            WCF RIA Services Toolkit - All NuGe...
    RiaServicesContrib.EntityFramework.S... 0.2                                    Scaffolds a WCF RIA DbDomainService...
    Unity.Mvc3.EntityFramework.Quickstart   0.5                                    Quickstart sample for using Unity a...
    Unity.Mvc3.EntityFramework.Quickstart   0.6                                    Legacy package. Please use this pac...
    Unity.Mvc3.EntityFramework.Quickstart   0.7                                    Legacy package. Please use this pac...


    PM> install-package -id EntityFramework -Version 4.1.10311.0
    You are downloading EntityFramework from Microsoft, the license agreement to which is available at http://go.microsoft.com/fwlink/?LinkID=211009. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
    已成功安装“EntityFramework 4.1.10311.0”
    已成功将“EntityFramework 4.1.10311.0”添加到 MvcMovie
  • 相关阅读:
    GitHub的本地与远程
    linux PDF转换
    css文字样式与div
    CSS属性(pading margin)
    Q:table返回无数据点击排序无数据消失问题
    nginx 学习二(配置项)
    nginx学习一
    JS防抖节流
    通过node实现阿里云短信接口,并将手机号缓存,通过Redis过期时间限制频繁发短信
    web框架express学习三
  • 原文地址:https://www.cnblogs.com/topcoder/p/2922737.html
Copyright © 2011-2022 走看看