/// <summary> /// Copies from the given object. /// </summary> /// <param name="source">The source object to copy from.</param> public virtual void CopyFrom( DBObjectBase source) { // Condition added 2008-11-15, Uwe Keim. // Only set if not already set to allow copying between // different projects. if (_owningManager == null) { _owningManager = source._owningManager; } _id = source._id; _tag = source._tag; }
public ValidateObjectEventArgs(DBObjectBase obj) { _obj = obj; }
/// <summary> /// Determines whether [is null or empty] [the specified obj]. /// </summary> /// <param name="obj">The obj.</param> /// <returns> /// <c>true</c> if [is null or empty] [the specified obj]; otherwise, <c>false</c>. /// </returns> public static bool IsNullOrEmpty( DBObjectBase obj) { return(obj == null || obj.IsEmpty); }
/// <summary> /// Determines whether [is null or empty] [the specified obj]. /// </summary> /// <param name="obj">The obj.</param> /// <returns> /// <c>true</c> if [is null or empty] [the specified obj]; otherwise, <c>false</c>. /// </returns> public static bool IsNullOrEmpty( DBObjectBase obj) { return obj == null || obj.IsEmpty; }