Change Manager
This commit is contained in:
@@ -1287,6 +1287,7 @@ namespace VEPROMS.CSLA.Library
|
||||
using (SqlCommand cm = cn.CreateCommand())
|
||||
{
|
||||
cm.CommandType = CommandType.StoredProcedure;
|
||||
//Volian.Base.Library.vlnStackTrace.ShowStackLocal("ContentID={0}", _ContentID.ToString());
|
||||
cm.CommandText = "updateContent";
|
||||
// All Fields including Calculated Fields
|
||||
cm.Parameters.AddWithValue("@ContentID", _ContentID);
|
||||
|
@@ -27,11 +27,20 @@ namespace VEPROMS.CSLA.Library
|
||||
[TypeConverter(typeof(ContentInfoConverter))]
|
||||
public partial class ContentInfo : ReadOnlyBase<ContentInfo>, IDisposable
|
||||
{
|
||||
public static event ContentInfoEvent InfoChanged;
|
||||
private void OnInfoChanged(ContentInfo contentInfo)
|
||||
{
|
||||
if (InfoChanged != null)
|
||||
InfoChanged(this);
|
||||
}
|
||||
public event ContentInfoEvent Changed;
|
||||
private void OnChange(ContentInfo contentInfo)
|
||||
{
|
||||
if (Changed != null)
|
||||
Changed(this);
|
||||
{
|
||||
Changed(this);
|
||||
OnInfoChanged(this);
|
||||
}
|
||||
}
|
||||
private void OnChange()
|
||||
{
|
||||
|
Reference in New Issue
Block a user