logo

Crowdly

Browser

Add to Chrome

ARHITEKTURE INFORMACIJSKIH SISTEMOV

Looking for ARHITEKTURE INFORMACIJSKIH SISTEMOV test answers and solutions? Browse our comprehensive collection of verified answers for ARHITEKTURE INFORMACIJSKIH SISTEMOV at ucilnice.arnes.si.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

var db = new BazaContext();

db.Database.BeginTransaction(); // Začetek transakcije

try

{

    foreach (var o in seznamOseb)

    {

    db.Add(o);

    db.SaveChanges();

    }

    db.Database.CommitTransaction(); 

    return Results.Ok(seznamOseb);

}

catch (Exception ex)

{

    db.Database.RollbackTransaction(); 

    return Results.Problem(ex.Message);

}

100%
0%
View this question
public class BazaContext : DbContext

{

    public DbSet<Student> Students { get; set; }

    public DbSet<Course> Courses { get; set; }

    public DbSet<StudentCourse> StudentCourses { get; set; }

}

Navedena koda bi delovala pravilno v kolikor uporabljamo SQLite bazo.

100%
0%
View this question

Katera anotacija v EF označuje primarni ključ entitete?

 

View this question

S katero rezervirano besedo v .proto datotekah povemo, da gre pri sporočilu za seznam elementov?

View this question

gRPC uporablja kateri protokol za prenos podatkov?

0%
100%
0%
0%
0%
0%
View this question

 Označite pristope, ki veljajo za Code First pristop v Entity Frameworku

0%
100%
100%
0%
0%
100%
0%
0%
View this question

Kateri so načini razvoja baze z uporabo Entity Framework?

0%
100%
0%
100%
0%
100%
0%
View this question

Want instant access to all verified answers on ucilnice.arnes.si?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome