#region License
// Copyright 2005-2019 Paul Kohler (https://github.com/paulkohler/minisqlquery). All rights reserved.
// This source code is made available under the terms of the GNU Lesser General Public License v3.0
// https://github.com/paulkohler/minisqlquery/blob/master/LICENSE
#endregion
namespace MiniSqlQuery.Core.DbModel
{
/// The db model object base.
public class DbModelObjectBase : IDbModelNamedObject
{
private string _fullName;
///
/// Gets the full name of the object which may include the for example.
///
/// The full name.
public virtual string FullName
{
get
{
if (_fullName == null)
{
_fullName = Utility.RenderSafeSchemaObjectName(Schema, Name);
}
return _fullName;
}
}
/// Gets or sets name of the database object.
/// The name of the object.
public virtual string Name { get; set; }
/// Gets or sets ObjectType.
/// The object type.
public virtual string ObjectType { get; set; }
/// Gets or sets Schema.
/// The schema.
public virtual string Schema { get; set; }
}
}