Inheritance: IVisitable
Exemplo n.º 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;
		}
Exemplo n.º 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));
		}
Exemplo n.º 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)
 {
 }