/
ICopyable.cs
35 lines (33 loc) · 1.46 KB
/
ICopyable.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// -------------------------------------------------------------------------------------------
// Instrumind ThinkComposer
//
// Copyright (C) Néstor Marcel Sánchez Ahumada. Santiago, Chile.
// https://github.com/nmarcel/ThinkComposer
//
// This file is part of ThinkComposer, which is free software licensed under the GNU General Public License.
// It is provided without any warranty. You should find a copy of the license in the root directory of this software product.
// -------------------------------------------------------------------------------------------
//
// Project: Instrumind ThinkComposer v1.0
// File : ICopyable.cs
// Object : Instrumind.Common.EntityBase.ICopyable (Interface)
//
// Date Author Changes
// ---------- ------------------ -------------------------------------------------------------
// 2010.05.06 Néstor Sánchez A. Creation
//
using System;
/// Provides a foundation of structures and services for business entities management, considering its life cycle, edition and persistence mapping.
namespace Instrumind.Common.EntityBase
{
/// <summary>
/// Represents an entity which can be copied/cloned.
/// </summary>
public interface ICopyable
{
/// <summary>
/// Creates and returns a clone object of this source model instance, plus indicating the cloning-scope and direct-owner.
/// </summary>
object CreateCopy(ECloneOperationScope CloningScope, IMModelClass DirectOwner);
}
}