13 lines
364 B
C#
13 lines
364 B
C#
using InnovEnergy.App.VrmGrabber.DataTypes;
|
|
|
|
namespace InnovEnergy.App.VrmGrabber.Database;
|
|
|
|
|
|
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;
|
|
}
|
|
} |