namespace DynamicData.Code.DataAccess.Sql.Dbml{[MetadataType(typeof(GameMetadata))]public partial class Game{}public class GameMetadata{public object HomeTeamId {get; set;}public object AwayTeamId { get; set; }[DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}")]//[Range(0,100, ErrorMessage="enter a quanity between ")]public object Date { get; set; }public object Line { get; set; }public object HomeScore { get; set; }public object AwayScore { get; set; }public object WeekId { get; set; }}}
Search
just show me the code
Wednesday, August 4, 2010
dyanmic data partial class meta data
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment