A database based on .net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.0 KiB

// Author: Gockner, Simon
// Created: 2020-01-27
// Copyright(c) 2020 SimonG. All Rights Reserved.
using System;
using System.Collections.Generic;
using GBase.Api;
using GBase.Attributes;
namespace Test.GBase.TestClasses
{
[GBaseTable("Foo")]
public class Foo : NotifyGBaseEntryChanged, IGBaseObject
{
private string _name;
public Foo()
{
}
public Foo(string name)
{
Name = name;
}
[GBaseColumn]
public string Name
{
get => _name;
set
{
_name = value;
RaiseGBaseEntryChanged(this, nameof(Name), _name);
}
}
public void InitializeFromString(string @string)
{
throw new NotImplementedException();
}
public void Initialize(List<object> parameters)
{
throw new NotImplementedException();
}
}
}