Dacpac puas muaj cov ntaub ntawv?
Dacpac puas muaj cov ntaub ntawv?

Video: Dacpac puas muaj cov ntaub ntawv?

Video: Dacpac puas muaj cov ntaub ntawv?
Video: Qhia cov poj niam thaum muaj me nyuam hauv plab tsim nyog ua li ca thiaj zoo 2024, Kaum ib hlis
Anonim

A DACPAC yog ib daim ntawv xa tawm uas muaj koj tag nrho database schema thiab qee cov ntaub ntawv SQL cuam tshuam (xws li saib cov ntaub ntawv ), qhov yooj yim, txhua yam los xa cov ntawv tshiab ntawm koj cov ntaub ntawv hauv ib cov ntaub ntawv. Nws zoo ib yam li BACPAK, uas yog a DACPAC plus tag nrho cov cov ntaub ntawv nyob rau hauv txhua lub rooj (zoo li tus txheej txheem database backup).

Ua li no, Dacpac sawv rau dab tsi?

Data Tier AppliCation Package

Ib sab saum toj no, koj siv Dacpac li cas? Ntawm no yog cov kauj ruam rau deploy a DACPAC nrog SQL Server Management Studio 2012: Qhib SQL Server Management Studio. Txuas mus rau SQL Server Instance uas muaj cov ntaub ntawv xa mus rau.

  1. Cov ntawv sau tau raug ua tiav, ua tiav cov txheej txheem xa tawm DACPAC.
  2. Yog xav tau, nyem Txuag Qhia.
  3. Ces nyem Finish.

Ib yam li ntawd, Bacpac puas muaj cov ntaub ntawv?

A bacpac ua suav nrog schema thiab cov ntaub ntawv los ntawm database . Ib dacpac ntim tsuas yog cov schema thiab tsis yog cov ntaub ntawv . Nco ntsoov tias schema yeej muaj txhua yam TSIS TAU cov ntaub ntawv , piv txwv li cov lus txhais lus tseeb ntawm cov database , views, khaws cia cov txheej txheem, kev ua haujlwm thiab lwm yam.

Dacpac SQL Server yog dab tsi?

dacpac yog Data-tier application. Ntau qhov tseeb, nws yog cov ntaub ntawv uas tau tsim thaum koj tsim ib qho SQL Server Database Project. Nws muaj tag nrho cov ntaub ntawv tsim nyog los tsim cov khoom db teev hauv koj li SQL ntawv DB project.

Pom zoo: