Какие .sdf файлы. Как это отличается из .mdf файлов. Это работает с linq к Sql?

Все, что вам нужно сделать, добавить атрибут контейнера к каждому элементу сетки и применить alignItem, чтобы сделать его центром.

Ваш код должен выглядеть примерно так:

<Grid container direction="row" spacing={24}>
  <Grid item xs={6} 
    container
    direction="column"
    justify="center"
    alignItems="center"
    className="abc">
     <label>h</label>
  </Grid>
  <Grid item xs={6} 
    container
    direction="column"
    justify="center"
    alignItems="center"
    className="pqr">
     <label>hnnn</label>
  </Grid>
</Grid>

Дайте мне знать, если это поможет!

11
задан Cœur 5 March 2017 в 11:54
поделиться

1 ответ

An SDF file is a Sql Server Mobile file. It is also referred to as Sql Server compact. It is predominantly used in mobile development but recently more and more common in single user desktop developments as well.

Visual Studio 2008 does not support Linq to Sql for Sql Server Mobile but the Framework does. You can find out more on implementing this here

You can find more on Sql Server Mobile here. The link will also help explain the differences between this and Mdf's, used by Sql Server.

There is also an article on building a Linq to Sql model for Wpf using Sql Mobile/Compact here

One of the main differences between a Sdf and Mdf is that until recently an Mdf could not be opened and treated like a normal file, whereas an Sdf is accessed as a file. However in Visual Studio this concept was reproduced by allowing Sql Server Data files which dynamically attaches the Mdf to a Sql Server Express session.

13
ответ дан 3 December 2019 в 08:57
поделиться
Другие вопросы по тегам:

Похожие вопросы: