我有3个表没有外键(这是一个遗留数据库,所以我不能改变它).该模型将是这样的(sql代码):
Select
PROD.ProductoId,
PROD.Descripcion,
STK.StockActual,
DEPO.DepositoId,
DEPO.Descripcion
From
Productos PROD,
Stock STOK,
Depositos DEPO
where
PROD.ProductoId = STOK.ProductoId
and DEPO.DepositoId = STOK.DepositoId
Run Code Online (Sandbox Code Playgroud)
如何在C#上使用Linq获得相同的结果?
大家好,请提前帮忙...我正在寻找解决一个简单问题的最佳做法:
.left {
float: left;
width: 79%;
margin-right: 1%;
}
.left img {
float: right;
}
.right {
float: right;
width: 20%;
}Run Code Online (Sandbox Code Playgroud)
<div class="main">
<div class="left">
<img src="http://placehold.it/200x200" />
</div>
<div class="right">A TEXT</div>
</div>Run Code Online (Sandbox Code Playgroud)
我应该如何将文本垂直居中放置在图像的中间(显然不是在边缘顶部或底部使用px,因为图像的宽度/高度将是动态的).谢谢!