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.
53 lines
1.1 KiB
53 lines
1.1 KiB
// Author: Gockner, Simon
|
|
// Created: 2020-01-27
|
|
// Copyright(c) 2020 SimonG. All Rights Reserved.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using GBase;
|
|
using GBase.Api;
|
|
using GBase.Attributes;
|
|
using GBase.Interfaces;
|
|
|
|
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 GBaseKey Key { get; set; }
|
|
public string FileName => Name;
|
|
|
|
public void InitializeFromString(string @string)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void Initialize(GBaseKey key, List<object> parameters)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
} |