[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Julia Beresford

12/25/2013 2:48:00 AM

&#25919;&#24220;&#12364;&#29872;&#22826;&#24179;&#27915;&#25126; <a href=http://www.auroralimofl.com/>&#12475;&#12452;&#12467;&a... &#33109;&#26178;&#35336;</a> &#30053;&#30340;&#32076;&#28168;&#36899;&#25658;&#21332;&#23450;&#65288;&#65332;&#65328;&#65328;&#65289;&#20132;&#28169;&#12391;&#12289;&#31859;&#22269;&#12392;&#36899;&#25658;&#12375;&#12390;&#30446;&#25351;&#12375;&#12390;&#12365;&#12383;&#26089;&#26399;&#12398;&#22949;&#32080;&#12395;&#12371;&#12384;&#12431;&#12425;&#12378;&#12289;&#38306;&#31246;&#32173;&#25345;&#12434;&#20778;&#20808;&#12377;&#12427;&#20132;&#28169;&#25126; <a href=http://www.auroralimofl.com/>&#12475;&#12452;&#12467;&a... &#33109;&#26178;&#35336;</a> &#34899;&#12395;&#36578;&#25563;&#12377;&#12427;&#26041;&#37341;&#12434;&#22266;&#12417;&#12383;&#12371;&#12392;&#12364;&#65298;&#65297;&#26085;&#12289;&#20998;&#12363;&#12387;&#12383;&#12290;&#31859;&#22269;&#12364; <a href=http://www.auroralimofl.com/>http://www.auroralimofl.com/... &#26085;&#31859;&#12398;&#38306;&#31246;&#20132;&#28169;&#12391;&#20840;&#12367;&#35698;&#27497; <a href=http://www.equitycontractingmanual.org/>&#12450;&a... &#12502;&#12540;&#12484; &#24215;&#33303;</a> &#12375;&#12394;&#12356;&#12371;&#12392;&#12363;&#12425;&#12289;&#26089;&#26399;&#22949;&#32080;&#12395;&#21521;&#12369;&#20840;&#38754;&#30340;&#12395;&#31859;&#22269;&#12434;&#12469;&#12509;&#12540;&#12488;&#12375;&#12390;&#12365;&#12383;&#20132; <a href=http://www.equitycontractingmanual.org/>&#12450;&a... &#12450;&#12454;&#12488;&#12524;&#12483;&#12488;</a> &#28169;&#26041;&#37341;&#12434;&#35211;&#30452;&#12377;&#12290;&#31859;&#22269;&#12399;&#30693;&#30340;&#36001;&#29987;&#12420;&#22269;&#26377;&#20225;&#26989;&#12394;&#12393;&#12398;&#12523;&#12540;&#12523;&#12434;&#12417;&#12368;&#12387;&#12390;&#12418;&#35201;&#27714;&#12434;&#19968;&#26041;&#30340;&#12395;&#26032;&#33288;&#22269;&#12395;&#25276;&#12375;&#20184;&#12369;&#12390; <a href=http://www.equitycontractingmanual.org/>http://www.equitycontractingmanual.org/... &#12362;&#12426;&#12289;&#26469;&#24180;&#65297;&#26376;&#19979;&#26092;&#12395;&#20104;&#23450; <a href=http://www.rodfincannon.com/>&#12465;&#12452;&#12488;&#12473;&#12506;&#12540;&a... &#36001;&#24067;</a> &#12375;&#12390;&#12356;&#12383;&#27425;&#22238;&#12398;&#38307;&#20698;&#20250;&#21512;&#12418;&#65298;&#26376;&#12395;&#12378;&#12428;&#36796;&#12416;&#35211;&#36890;&#12375;&#12392;&#12394;&#12387;&#12390;&#12356;&#12427;&#12290;&#25919;&#24220;&#12399;&#12289;&#27425;&#22238;&#38307;&#20698; <a href=http://www.rodfincannon.com/>&#12465;&#12452;&#12488;&#12473;&#12506;&#12540;&a... &#12496;&#12483;&#12464;</a> &#20250;&#21512;&#21069;&#12395;&#26085;&#31859;&#21332;&#35696;&#12434;&#38283;&#12365;&#12289;&#38306;&#31246;&#20132;&#28169;&#12434;&#34892;&#12358;&#20104;&#23450;&#12290;&#12467;&#12513;&#12420;&#29275;&#32905;&#12289;&#20083;&#35069;&#21697;&#12394;&#12393;&#36786;&#29987;&#21697;&#12398;&#37325;&#35201;&#65301;&#20998;&#37326;&#12395;&#38306;&#12375;&#12390;&#38306;&#31246;&#32173; <a href=http://www.rodfincannon.com/>http://www.rodfincannon.com/... &#25345;&#12434;&#25913;&#12417;&#12390;&#27714;&#12417;&#12427;&#12290;

&#12288; &#12371;&#12428;&#12395;&#31859;&#36890;&#21830;&#20195; <a href=http://www.lipsynctv.com/>&#12467;&#12540;&a... &#12450;&#12454;&#12488;&#12524;&#12483;&#12488;</a> &#34920;&#37096;&#65288;&#65333;&#65331;&#65332;&#65330;&#65289;&#12398;&#12501;&#12525;&#12510;&#12531;&#20195;&#34920;&#12425;&#12364;&#12300;&#20840;&#36031;&#26131;&#21697;&#30446;&#12398;&#38306; <a href=http://www.lipsynctv.com/>&#12467;&#12540;&a... &#12450;&#12454;&#12488;&#12524;&#12483;&#12488;</a> &#31246;&#25764;&#24259;&#12301;&#12392;&#12398;&#24467;&#26469;&#12398;&#20027;&#24373;&#12434; <a href=http://www.lipsynctv.com/>http://www.lipsynctv.com/... &#32154;&#12369;&#35698;&#27497;&#26696;&#12434;&#25552;&#31034;&#12375;&#12394;&#12356;&#22580;&#21512;&#12399;&#21332;&#35696;&#12434;&#12300;&#32153; <a href=http://www.lostcreekmbc.org/>&#12450;&a... &#12512;&#12540;&#12488;&#12531;&#12502;&#12540;&#12484;</a> &#32154;&#12301;&#12392;&#12377;&#12427;&#12290;&#12381;&#12398;&#22580;&#21512;&#12289;&#27425;&#22238;&#38307;&#20698;&#20250;&#21512;&#12391;&#12399;&#12289;&#35215;&#21046;&#25913;&#38761;&#12398; <a href=http://www.lostcreekmbc.o... &#12502;&#12540;&#12484;</a> &#21033;&#28857;&#12420;&#23550;&#24540; <a href=http://www.lostcreekmbc.org/>http://www.lostcreekmbc.org/... &#31574;&#12434;&#26032;&#33288;&#22269;&#12395;&#35500;&#26126;&#12377;&#12427;&#12394;&#12393;&#20132;&#28169;&#22949;&#32080;&#12395;&#21521;&#12369;&#36914;&#12417;&#12390;&#12365;&#12383;&#35500; <a href=http://www.brcustomwoodwork.com/>&#12465;&#12452;&#12488;&#12473;&#12506;&#12540;&a... &#12450;&#12454;&#12488;&#12524;&#12483;&#12488;</a> &#24471;&#20316;&#26989;&#12434;&#32302;&#23567;&#12373;&#12379;&#12427;&#12290;&#26085;&#26412;&#12399;&#12371;&#12428;&#12414;&#12391;&#12398;&#27700; <a href=http://www.brcustomwoodwork.com/>&#12465;&#12452;&#12488;&#12473;&#12506;&#12540;&a... &#12450;&#12454;&#12488;&#12524;&#12483;&#12488;</a> &#38754;&#19979;&#20132;&#28169;&#12391;&#12289;&#37325;&#35201; <a href=http://www.brcustomwoodwork.com/>http://www.brcustomwoodwork.com/... &#65301;&#20998;&#37326;&#12395;&#38306;&#12375;&#19968;&#23450;&#36664;&#20837;&#37327;&#12414;&#12391;&#12399;&#20302; <a href=http://www.promisedlandchurch.org/>&#12514;&#12531;&#12463;&#12524;&#12540;&a... &#24215;&#33303;</a> &#38306;&#31246;&#29575;&#12434;&#36969;&#29992;&#12377;&#12427;&#29305;&#21029;&#26528;&#12394;&#12393;&#12434;&#25171;&#35386;&#12290;&#12375;&#12363;&#12375;&#12289;&#12501;&#12525;&#12510;&#12531;&#27663;&#12399;&#65297;&#65298;&#26376;&#65303;&#26085;&#12363;&#12425;&#38283;&#12363;&#12428;&#12383;&#38307;&#20698;&#20250;&#21512;&#12391;&#12418;&#26085;&#26412;&#12398;&#22949;&#21332;&#26696;&#12434;&#25298;&#21542;&#12375;&#12383;&#12290;&#20132; <a href=http://www.promisedlandchurch.org/>&#12514;&#12531;&#12463;&#12524;&#12540;&a... &#24215;&#33303;</a> &#28169;&#31563;&#12395;&#12424;&#12427;&#12392;&#12289;&#38307;&#20698;&#20250;&#21512;&#26368;&#32066;&#26085;&#12398;&#65297;&#65296;&#26085;&#12395; <a href=http://www.promisedlandchurch.org/>http://www.promisedlandchurch.org/... &#30330;&#34920;&#12373;&#12428;&#12383;&#21512;&#24847;&#25991;&#26360;&#12395;&#12354;&#12427;&#12300;&#23455;&#36074;&#30340;&#12394;&#36914;&#23637;&#12301;&#12399;&#12289;&#12377;&#12409;&#12390;&#26032;&#33288;&#22269;&#20596;&#12398;&#35698;&#27497;&#12384;&#12392;&#12356;&#12358;&#12290;&#21508;&#22269;&#12398;&#20132;&#28169;&#23448;&#12398;&#38291;&#12391;&#12399;&#12289;&#12501;&#12525;&#12510;&#12531;&#27663;&#12395;&#23550;&#12375;&#12300;&#35441;&#12434;&#12414;&#12392;&#12417;&#12425;&#12428;&#12394;&#12356;&#32032; <a href=http://www.gatewaychurchsbc.org/>&#12464;&#12483;&a... &#12496;&#12483;&#12464;</a> &#20154;&#12384;&#12301;&#12392;&#12398;&#25209;&#21028;&#12418;&#19978;&#12364;&#12387;&#12390;&#12356;&#12427;&#12290;&#23433;&#20493;&#26187; <a href=http://www.gatewaychurchsbc.org/>&#12464;&#12483;&a... &#12496;&#12483;&#12464;</a> &#19977;&#39318;&#30456;&#12399;&#65298;&#65296;&#26085;&#12398;&#12486;&#12524;&#12499;&#26481;&#20140;&#30058;&#32068;&#12391;&#12300;&#22269;&#30410;&#12434;&#23432;&#12427;&#12383;&#12417;&#12395; <a href=http://www.gatewaychurchsbc.org/>http://www.gatewaychurchsbc.org/... &#22949;&#21332;&#12399;&#12375;&#12394;&#12356;&#12301;&#12392;&#24375;&#35519;&#12290;
2 Answers

Miha Markic

6/8/2007 9:31:00 AM

0

Hi blue,

"BLUE" <blue> wrote in message
news:%23mvDtcaqHHA.500@TK2MSFTNGP02.phx.gbl...
>> Or perhaps use Sql provider's transaction (via
>> SqlConnection.BeginTransaction/SqlTransaction.Commit/Rollback).
>
> I'm using a provider indipendent DAL: I can use providers' transactions or
> SQL transaction statements in the class that hide provider dependance.
> Both te solution are provider dependent since DB2, MySQL, Postgre use
> START TRANSACTION, SQL Server uses BEGIN TRANSACTION and Oracle starts a
> transaction when the first query starts as SQL92 says).
>
> I think I'll use providers' transactions but using them can I open two
> connections under a single transaction?

Good point, you would have to use two transactions in such case (if this is
feasible for your operation at all).
However I was thinkg more like if you need just to read data and you don't
care about transaction in reading, you can avoid using transaction for
reading at all.

> That is if I do not use TransactionScope the transaction never promote to
> distributed?

Right. Unless there is some sort of external mechanism such as
TransactionScope.

Thinking about situation though, perhaps is the best to avoid using multiple
connections and use ado.net's transactions (to avoid using DTC) - they are
not provider specific and you can handle them using provider indpendent
code.
--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_...

BLUE

6/8/2007 9:57:00 AM

0

You are right!

I'm doing a select on Table1 and then I have a loop on the datareader: for
each record I do many queryies to preform insert or update on 4 other tables
(some selects are involved of course).

Table1 is used only to insert records (each application insert a new record
so each concurrent access does not affect the others as if there was no
concurrency).

From time to time I need to update the 4 other tables with data from Table1
where Date < X (X = Now) and after insertion I'll delete the inserted
records.

I've thought I can do the select outside the transactionscope, but:
- if I loop on the datareader inside the transactionscope, a distributed
transaction occurs?
- when I have to delete inserted records I cannot do DELETE FROM Table1
WHERE Date < X since between te select and the entering in the transaction
scope, a concurrent access could have inserted a row that matches the where
clause.
I have to do a "DELETE INSERTED ROW" instead of a global delete right?


Thanks a lot,
Luigi.