Skip to content

Instantly share code, notes, and snippets.

@komainu85
Created May 25, 2015 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save komainu85/7e709f9d21f2ff4c3c1a to your computer and use it in GitHub Desktop.
Save komainu85/7e709f9d21f2ff4c3c1a to your computer and use it in GitHub Desktop.
Entity Service Validation Meta Data
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using MikeRobbins.EntityServiceDemo.Attributes;
using Sitecore.Services.Core.MetaData;
namespace MikeRobbins.EntityServiceDemo.MetaData
{
public class NotPastDateMetaData : ValidationMetaDataBase<NotPastDateAttribute>
{
public NotPastDateMetaData()
: base("notPastDate")
{
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment