sorunu çözdüm tşk edrm
Add-migration migrationismi
update-database migrationismi
Add-migration migrationismi
update-database migrationismi solved
hello.
I fixed problem.
update-database migrationismi
hello alper
_courseRepository.GetAll().Where(x=>x.Name == "Test").FirstOrDefault();
.GetAll() returns IEnumerable or IQueryable, not .tolist() right? if so , .tolist() will very slow down the system .
thanks @maliming I am checking it out now.
hi alper, of course ,_courseRepository but I would like to use linq approach. I would need such
_courseCustomService.Courses.Where(x=>x.Id>3).tolist() ...
this is my aim.
hello les say I want to create table abc
id int name nvarchar numberval decimal then les say I created it from toolbar, writing without code.
then, toolbar creates decimal default decimal 18.2.
so my question is, how could I create decimal value with 18.4 with component?
hello,
so what is the appropriate way of it?
I realized that, when I try to remove an entity , I face that problem. I think I make something wrong. So my question is , les say, I want to completely remove table abc from database and everything in code , thus, what should be the process of it? is there some command for it?
Sometimes for example, I created table with
table name: abc Id int NameVal string
and lets say it gave error : nameVal could not be duplicate,
error message is not important. because what ever the error message is, it could not be repaired.
If I want to create another table table name :def Id int NameValue: string
the same error for first one is still displayed, code creates views ,controllers, scripts but database table is not created. Due to this situation, I lost a lot of time. Now, I recloned a clean copy of project , then I will move the codes from non working one to newly cloned one. I still could not get support from you.