상속: IVisitable
예제 #1
0
 public override void VisitTimestamp(TimestampModel model)
 {
     AppendF("<timestamp {0} {1} {2} />",
             MakeAtt("name", model.Property.Name),
             MakeAtt("access", model.TimestampAtt.AccessString),
             MakeAtt("column", model.TimestampAtt.Column));
 }
 public override void VisitTimestamp(TimestampModel model)
 {
     if (model.TimestampAtt.Column == null)
     {
         model.TimestampAtt.Column = model.Property.Name;
     }
 }
        /// <summary>
        /// Visits the timestamp.
        /// </summary>
        /// <remarks>
        /// Infer column name
        /// </remarks>
        /// <param name="model">The model.</param>
        public override void VisitTimestamp(TimestampModel model)
        {
            if (model.TimestampAtt.Column == null)
            {
                model.TimestampAtt.Column = model.Property.Name;
            }

            // Append column prefix
            model.TimestampAtt.Column = columnPrefix + model.TimestampAtt.Column;
        }
		/// <summary>
		/// Visits the timestamp.
		/// </summary>
		/// <remarks>
		/// Infer column name
		/// </remarks>
		/// <param name="model">The model.</param>
		public override void VisitTimestamp(TimestampModel model)
		{
			if (model.TimestampAtt.Column == null)
			{
				model.TimestampAtt.Column = model.Property.Name;
			}

			// Append column prefix
			model.TimestampAtt.Column = columnPrefix + model.TimestampAtt.Column;
		}
예제 #5
0
		/// <summary>
		/// Visits the timestamp.
		/// </summary>
		/// <param name="model">The model.</param>
		public override void VisitTimestamp(TimestampModel model)
		{
			AppendF("<timestamp{0}{1}{2} />",
			        MakeAtt("name", model.Property.Name),
			        MakeAtt("access", model.TimestampAtt.AccessString),
			        MakeAtt("column", model.TimestampAtt.Column));
		}
예제 #6
0
 public virtual void VisitTimestamp(TimestampModel model)
 {
 }
 /// <summary>
 /// Visits the timestamp.
 /// </summary>
 /// <param name="model">The model.</param>
 public virtual void VisitTimestamp(TimestampModel model)
 {
 }