using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace yplaylist.Models
{
[MatadataType(typeof(Song_Validation))]
public partial class Song
{
}
public class Song_Validation
{
}
}
MetadataType is highlighted saying that it could not be found missing a using directive or assembly reference? what am I missing?
You are missing assembly System.ComponentModel.DataAnnotations.dll in reference
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With