Innovenergy_trunk/csharp/App/VrmGrabber/Database/Create.cs

13 lines
364 B
C#
Raw Normal View History

2023-05-04 15:22:58 +00:00
using InnovEnergy.App.VrmGrabber.DataTypes;
2023-04-27 14:59:45 +00:00
2023-05-04 15:22:58 +00:00
namespace InnovEnergy.App.VrmGrabber.Database;
2023-04-27 14:59:45 +00:00
public static partial class Db
{
public static Boolean Create(Installation installation)
{
// SQLite wrapper is smart and *modifies* t's Id to the one generated (autoincrement) by the insertion
return Connection.Insert(installation) > 0;
}
}